Fix nasty_containers.hpp for other stdlibs

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@283994 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2016-10-12 09:31:26 +00:00
parent bf148f02bc
commit 159b45f505
2 changed files with 55 additions and 41 deletions

View File

@@ -88,6 +88,7 @@
#if TEST_STD_VER >= 11
#define TEST_CONSTEXPR constexpr
#define TEST_NOEXCEPT noexcept
#define TEST_NOEXCEPT_COND(...) noexcept(__VA_ARGS__)
# if TEST_STD_VER >= 14
# define TEST_CONSTEXPR_CXX14 constexpr
# else
@@ -97,6 +98,7 @@
#define TEST_CONSTEXPR
#define TEST_CONSTEXPR_CXX14
#define TEST_NOEXCEPT
#define TEST_NOEXCEPT_COND(...)
#endif
#if !TEST_HAS_FEATURE(cxx_rtti) && !defined(__cpp_rtti) \