[libcxx-commits] [libcxx] [libc++] Make lazy three way comparator optimization apply in older standard modes (PR #218525)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Sep 29 01:49:56 PDT 2026
================
@@ -713,16 +714,16 @@ template <class _MapValueT, class _Key, class _TransparentKey, class _Compare>
struct __lazy_synth_three_way_comparator<__map_value_compare<_Key, _MapValueT, _Compare>, _MapValueT, _TransparentKey> {
__lazy_synth_three_way_comparator<_Compare, _Key, _TransparentKey> __comp_;
- __lazy_synth_three_way_comparator(
+ _LIBCPP_CONSTEXPR_SINCE_CXX26 __lazy_synth_three_way_comparator(
----------------
philnik777 wrote:
Unrelated change?
https://github.com/llvm/llvm-project/pull/218525
More information about the libcxx-commits
mailing list