From 35c3b539438be2d587cbe8f2b9604a68bbe7792b Mon Sep 17 00:00:00 2001 From: Arthur O'Dwyer Date: Tue, 8 Dec 2020 15:41:48 -0500 Subject: [PATCH] [libc++] ADL-proof __libcpp_is_nothrow_constructible. The GCC C++20 buildbot hit this ADL call; Clang doesn't, presumably because it uses a compiler builtin instead of this codepath in . https://buildkite.com/llvm-project/libcxx-ci/builds/674 --- libcxx/include/type_traits | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcxx/include/type_traits b/libcxx/include/type_traits index cd6a1633df80..2842c905e302 100644 --- a/libcxx/include/type_traits +++ b/libcxx/include/type_traits @@ -1821,7 +1821,7 @@ template static void __test_noexcept(_Tp) noexcept; template -static bool_constant(declval<_Fm>()))> +static bool_constant(declval<_Fm>()))> __is_nothrow_convertible_test(); template @@ -3293,7 +3293,7 @@ void __implicit_conversion_to(_Tp) noexcept { } template struct __libcpp_is_nothrow_constructible - : public integral_constant(declval<_Arg>()))> + : public integral_constant(declval<_Arg>()))> { };