|
@@ -72,6 +72,7 @@ inline namespace fundamentals_v1 {
|
|
|
|
|
|
#if _LIBCPP_STD_VER > 11
|
|
#if _LIBCPP_STD_VER > 11
|
|
|
|
|
|
|
|
+#include <initializer_list>
|
|
#include <type_traits>
|
|
#include <type_traits>
|
|
|
|
|
|
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
|
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
|
@@ -104,11 +105,10 @@ using raw_invocation_type_t = typename raw_invocation_type<_Tp>::type;
|
|
// 3.3.4, Detection idiom
|
|
// 3.3.4, Detection idiom
|
|
template <class...> using void_t = void;
|
|
template <class...> using void_t = void;
|
|
|
|
|
|
-struct nonesuch {
|
|
|
|
- nonesuch() = delete;
|
|
|
|
- ~nonesuch() = delete;
|
|
|
|
- nonesuch (nonesuch const&) = delete;
|
|
|
|
- void operator=(nonesuch const&) = delete;
|
|
|
|
|
|
+struct nonesuch : private _VSTD::__nat { // make nonesuch "not an aggregate"
|
|
|
|
+ ~nonesuch() = delete;
|
|
|
|
+ nonesuch (nonesuch const&) = delete;
|
|
|
|
+ void operator=(nonesuch const&) = delete;
|
|
};
|
|
};
|
|
|
|
|
|
template <class _Default, class _AlwaysVoid, template <class...> class _Op, class... _Args>
|
|
template <class _Default, class _AlwaysVoid, template <class...> class _Op, class... _Args>
|