diff --git a/include/experimental/utility b/include/experimental/utility index 12a7d050f..84e461af0 100644 --- a/include/experimental/utility +++ b/include/experimental/utility @@ -33,8 +33,6 @@ inline namespace fundamentals_v1 { # include -#if _LIBCPP_STD_VER > 11 - # include _LIBCPP_BEGIN_NAMESPACE_LFTS @@ -43,6 +41,4 @@ _LIBCPP_BEGIN_NAMESPACE_LFTS _LIBCPP_END_NAMESPACE_LFTS -#endif /* _LIBCPP_STD_VER > 11 */ - #endif /* _LIBCPP_EXPERIMENTAL_UTILITY */ diff --git a/test/experimental/utilities/utility/utility.erased.type/erased_type.pass.cpp b/test/experimental/utilities/utility/utility.erased.type/erased_type.pass.cpp index 5f89e5367..3e38d5ec5 100644 --- a/test/experimental/utilities/utility/utility.erased.type/erased_type.pass.cpp +++ b/test/experimental/utilities/utility/utility.erased.type/erased_type.pass.cpp @@ -13,8 +13,5 @@ int main() { -#if _LIBCPP_STD_VER > 11 - using std::experimental::erased_type; - constexpr erased_type e{}; -#endif + std::experimental::erased_type e(); } diff --git a/test/experimental/utilities/utility/utility.synop/includes.pass.cpp b/test/experimental/utilities/utility/utility.synop/includes.pass.cpp index bcdd8b387..2583d4345 100644 --- a/test/experimental/utilities/utility/utility.synop/includes.pass.cpp +++ b/test/experimental/utilities/utility/utility.synop/includes.pass.cpp @@ -11,11 +11,10 @@ #include +#ifndef _LIBCPP_UTILITY +# error " must include " +#endif + int main() { -#if _LIBCPP_STD_VER > 11 -# ifndef _LIBCPP_UTILITY -# error " must include " -# endif -#endif /* _LIBCPP_STD_VER > 11 */ }