diff options
author | 2025-02-18 12:46:24 -0800 | |
---|---|---|
committer | 2025-02-21 14:34:54 -0800 | |
commit | b646b825baf45027922dfb88d2fb5c0e81c29927 (patch) | |
tree | 866ec4ae4929c3d6ef074028f641dcf70e8baa5a /libs/gui/SurfaceComposerClient.cpp | |
parent | ee4497116b560289f1ad95bae733f707a25a129a (diff) |
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
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
0 files changed, 0 insertions, 0 deletions