[libcxx-commits] [libcxx] [libc++] Properly decay functions in CTAD for `pair` (PR #134544)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 15 18:40:17 PDT 2025


================
@@ -150,41 +153,52 @@ struct _LIBCPP_TEMPLATE_VIS pair
       class _U1,
       class _U2,
 #  endif
-      __enable_if_t<_CheckArgs::template __is_pair_constructible<_U1, _U2>(), int> = 0 >
----------------
frederick-vs-ja wrote:

I think that's the reason.

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


More information about the libcxx-commits mailing list