Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b646b825 authored by Lloyd Pique's avatar Lloyd Pique
Browse files

Introduce ftl::ignore

`ftl::ignore` works like `std::ignore`, but one can also ignore multiple
values using `operator()`. `ftl::ignore(a, b);` is more compact than
`std::ignore = a; std::ignore = b;`, and conveys the same idea.

Bug: 185536303
Flag: EXEMPT New library code
Test: atest ftl_test

Change-Id: Ice549328eeffb90f59f7b902809def48f583d157
parent ee449711
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment