commit | eea0e9547b0c4d1eb52058f47404516d7dc723e5 | [log] [tgz] |
---|---|---|
author | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | Fri Dec 25 14:48:39 2020 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Sun Jan 03 12:51:12 2021 -0800 |
tree | 835d4a83d7982d982bdfdfc5f781d922b5a3e46f | |
parent | 380fc5ae6e2ebe7c73333b309e6239a62dab804e [diff] |
[libc++] [P1065] Constexpr invoke, reference_wrapper, mem_fn, not_fn, default_searcher. This completes the implementation of P1065 "constexpr INVOKE": http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1065r2.html This doesn't yet complete the implementation of P1032 "Misc constexpr bits," http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1032r1.html but it does complete all of the <functional> bits, which means that we can now set `__cpp_lib_constexpr_functional` for C++20. This could use more constexpr tests for `std::reference_wrapper<T>`, but the existing tests are extremely non-constexpr-friendly and so I don't want to get into that rabbit-hole today. Differential Revision: https://reviews.llvm.org/D93815 GitOrigin-RevId: 7b00e9fae3853d4693e608cc52f6d6da5059f5ff