[libcxx-commits] [libcxx] [libc++] Opt `std::*set` out of map key extraction optimization (PR #220452)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Sep 3 01:49:57 PDT 2026
================
@@ -92,6 +93,16 @@ TEST_CONSTEXPR_CXX26 bool test() {
assert(std::get<1>(res));
assert(set.begin() == std::get<0>(res));
}
+ if (!TEST_IS_CONSTANT_EVALUATED) {
----------------
philnik777 wrote:
Why do we need to guard at all?
https://github.com/llvm/llvm-project/pull/220452
More information about the libcxx-commits
mailing list