commit | 8cbe32c50196e52b8b4178e7868542dcdcd6f4cc | [log] [tgz] |
---|---|---|
author | Ryan Prichard <rprichard@google.com> | Fri Aug 26 20:31:55 2022 -0700 |
committer | Ryan Prichard <rprichard@google.com> | Fri Aug 26 20:31:55 2022 -0700 |
tree | 31abb54801d95c6b0754f9ffadd8b987becd31fe | |
parent | 8a8bd3734f313df2a5c955bb2fd7a2014c397930 [diff] |
Switch from std::result_of to std::invoke_result std::result_of is deprecated in C++17 and removed in C++20. std::invoke_result is added in C++17. Upstream libc++ has started removing the declaration of std::result_of when a new-enough C++ dialect is selected, so switch to the supported type. Bug: http://b/175635923 Test: treehugger Change-Id: Ie2db3e092b4300e20858097ac4e88ebaedc7ae07