include/ftl/ignore.h
0 → 100644
+42
−0
+1
−0
libs/ftl/ignore_test.cpp
0 → 100644
+47
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
`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