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

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Sat Mar 1 03:22:03 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
----------------
frederick-vs-ja wrote:

Yeah. This should be replaced with `_LIBCPP_CONSTEXPR_SINCE_CXX26`.

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


More information about the libcxx-commits mailing list