[libcxx-commits] [libcxx] [libc++] LWG 3821 uses_allocator_construction_args should have overload for pair-like (PR #66939)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 21 14:26:25 PDT 2023


================
@@ -139,23 +157,33 @@ template <class _Tp>
 inline constexpr bool __convertible_to_const_pair_ref =
     decltype(__uses_allocator_detail::__convertible_to_const_pair_ref_impl<_Tp>(0))::value;
 
+#  if _LIBCPP_STD_VER >= 23
----------------
huixie90 wrote:

this LWG issue works on top of P2165R4, which is a c++23 paper, which generalises tuple/pair and formally defined 
 exposition-only concepts `pair-like`, which did not exist in c++20

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


More information about the libcxx-commits mailing list