[libcxx-commits] [libcxx] [libc++] constexpr deque (PR #129368)

Hristo Hristov via libcxx-commits libcxx-commits at lists.llvm.org
Fri Feb 28 23:49:09 PST 2025


================
@@ -2578,30 +2579,30 @@ inline _LIBCPP_HIDE_FROM_ABI bool operator<=(const deque<_Tp, _Allocator>& __x,
 #  else // _LIBCPP_STD_VER <= 17
 
 template <class _Tp, class _Allocator>
-_LIBCPP_HIDE_FROM_ABI __synth_three_way_result<_Tp>
+_LIBCPP_HIDE_FROM_ABI __synth_three_way_result<_Tp> constexpr
----------------
Zingam wrote:

I think you need to use the macro `CONSTEXPR_SINCE_XXX`.

https://github.com/llvm/llvm-project/pull/129368


More information about the libcxx-commits mailing list