Index: test/std/containers/associative/map/map.cons/move_assign_noexcept.pass.cpp =================================================================== --- test/std/containers/associative/map/map.cons/move_assign_noexcept.pass.cpp +++ test/std/containers/associative/map/map.cons/move_assign_noexcept.pass.cpp @@ -22,6 +22,7 @@ #include #include +#include "test_macros.h" #include "MoveOnly.h" #include "test_allocator.h" @@ -46,7 +47,7 @@ } { typedef std::map, other_allocator> C; - static_assert(std::is_nothrow_move_assignable::value, ""); + LIBCPP_STATIC_ASSERT(std::is_nothrow_move_assignable::value, ""); } { typedef std::map> C; Index: test/std/containers/associative/multimap/multimap.cons/move_assign_noexcept.pass.cpp =================================================================== --- test/std/containers/associative/multimap/multimap.cons/move_assign_noexcept.pass.cpp +++ test/std/containers/associative/multimap/multimap.cons/move_assign_noexcept.pass.cpp @@ -22,6 +22,7 @@ #include #include +#include "test_macros.h" #include "MoveOnly.h" #include "test_allocator.h" @@ -46,7 +47,7 @@ } { typedef std::multimap, other_allocator> C; - static_assert(std::is_nothrow_move_assignable::value, ""); + LIBCPP_STATIC_ASSERT(std::is_nothrow_move_assignable::value, ""); } { typedef std::multimap> C; Index: test/std/containers/associative/multiset/multiset.cons/move_assign_noexcept.pass.cpp =================================================================== --- test/std/containers/associative/multiset/multiset.cons/move_assign_noexcept.pass.cpp +++ test/std/containers/associative/multiset/multiset.cons/move_assign_noexcept.pass.cpp @@ -22,6 +22,7 @@ #include #include +#include "test_macros.h" #include "MoveOnly.h" #include "test_allocator.h" @@ -45,7 +46,7 @@ } { typedef std::multiset, other_allocator> C; - static_assert(std::is_nothrow_move_assignable::value, ""); + LIBCPP_STATIC_ASSERT(std::is_nothrow_move_assignable::value, ""); } { typedef std::multiset> C; Index: test/std/containers/associative/set/set.cons/move_assign_noexcept.pass.cpp =================================================================== --- test/std/containers/associative/set/set.cons/move_assign_noexcept.pass.cpp +++ test/std/containers/associative/set/set.cons/move_assign_noexcept.pass.cpp @@ -22,6 +22,7 @@ #include #include +#include "test_macros.h" #include "MoveOnly.h" #include "test_allocator.h" @@ -45,7 +46,7 @@ } { typedef std::set, other_allocator> C; - static_assert(std::is_nothrow_move_assignable::value, ""); + LIBCPP_STATIC_ASSERT(std::is_nothrow_move_assignable::value, ""); } { typedef std::set> C; Index: test/std/containers/sequences/deque/deque.cons/move_assign_noexcept.pass.cpp =================================================================== --- test/std/containers/sequences/deque/deque.cons/move_assign_noexcept.pass.cpp +++ test/std/containers/sequences/deque/deque.cons/move_assign_noexcept.pass.cpp @@ -21,6 +21,7 @@ #include #include +#include "test_macros.h" #include "MoveOnly.h" #include "test_allocator.h" @@ -43,10 +44,10 @@ } { typedef std::deque> C; - static_assert(std::is_nothrow_move_assignable::value, ""); + LIBCPP_STATIC_ASSERT(std::is_nothrow_move_assignable::value, ""); } { typedef std::deque> C; - static_assert(!std::is_nothrow_move_assignable::value, ""); + LIBCPP_STATIC_ASSERT(!std::is_nothrow_move_assignable::value, ""); } } Index: test/std/containers/sequences/forwardlist/forwardlist.cons/move_assign_noexcept.pass.cpp =================================================================== --- test/std/containers/sequences/forwardlist/forwardlist.cons/move_assign_noexcept.pass.cpp +++ test/std/containers/sequences/forwardlist/forwardlist.cons/move_assign_noexcept.pass.cpp @@ -21,6 +21,7 @@ #include #include +#include "test_macros.h" #include "MoveOnly.h" #include "test_allocator.h" @@ -43,10 +44,10 @@ } { typedef std::forward_list> C; - static_assert(std::is_nothrow_move_assignable::value, ""); + LIBCPP_STATIC_ASSERT(std::is_nothrow_move_assignable::value, ""); } { typedef std::forward_list> C; - static_assert(!std::is_nothrow_move_assignable::value, ""); + LIBCPP_STATIC_ASSERT(!std::is_nothrow_move_assignable::value, ""); } } Index: test/std/containers/sequences/list/list.cons/move_assign_noexcept.pass.cpp =================================================================== --- test/std/containers/sequences/list/list.cons/move_assign_noexcept.pass.cpp +++ test/std/containers/sequences/list/list.cons/move_assign_noexcept.pass.cpp @@ -21,6 +21,7 @@ #include #include +#include "test_macros.h" #include "MoveOnly.h" #include "test_allocator.h" @@ -43,10 +44,10 @@ } { typedef std::list> C; - static_assert(std::is_nothrow_move_assignable::value, ""); + LIBCPP_STATIC_ASSERT(std::is_nothrow_move_assignable::value, ""); } { typedef std::list> C; - static_assert(!std::is_nothrow_move_assignable::value, ""); + LIBCPP_STATIC_ASSERT(!std::is_nothrow_move_assignable::value, ""); } } Index: test/std/containers/sequences/vector.bool/move_assign_noexcept.pass.cpp =================================================================== --- test/std/containers/sequences/vector.bool/move_assign_noexcept.pass.cpp +++ test/std/containers/sequences/vector.bool/move_assign_noexcept.pass.cpp @@ -21,6 +21,7 @@ #include #include +#include "test_macros.h" #include "test_allocator.h" template @@ -60,7 +61,7 @@ { { typedef std::vector C; - static_assert(std::is_nothrow_move_assignable::value, ""); + LIBCPP_STATIC_ASSERT(std::is_nothrow_move_assignable::value, ""); } { typedef std::vector> C; @@ -68,12 +69,12 @@ } { typedef std::vector> C; - static_assert(std::is_nothrow_move_assignable::value, ""); + LIBCPP_STATIC_ASSERT(std::is_nothrow_move_assignable::value, ""); } { typedef std::vector> C; #if TEST_STD_VER > 14 - static_assert( std::is_nothrow_move_assignable::value, ""); + LIBCPP_STATIC_ASSERT( std::is_nothrow_move_assignable::value, ""); #else static_assert(!std::is_nothrow_move_assignable::value, ""); #endif @@ -81,7 +82,7 @@ #if TEST_STD_VER > 14 { // POCMA false, is_always_equal true typedef std::vector> C; - static_assert( std::is_nothrow_move_assignable::value, ""); + LIBCPP_STATIC_ASSERT( std::is_nothrow_move_assignable::value, ""); } { // POCMA false, is_always_equal false typedef std::vector> C; Index: test/std/containers/unord/unord.map/unord.map.cnstr/move_assign_noexcept.pass.cpp =================================================================== --- test/std/containers/unord/unord.map/unord.map.cnstr/move_assign_noexcept.pass.cpp +++ test/std/containers/unord/unord.map/unord.map.cnstr/move_assign_noexcept.pass.cpp @@ -22,6 +22,7 @@ #include #include +#include "test_macros.h" #include "MoveOnly.h" #include "test_allocator.h" @@ -56,7 +57,7 @@ { typedef std::unordered_map, std::equal_to, other_allocator>> C; - static_assert(std::is_nothrow_move_assignable::value, ""); + LIBCPP_STATIC_ASSERT(std::is_nothrow_move_assignable::value, ""); } { typedef std::unordered_map> C; Index: test/std/containers/unord/unord.multimap/unord.multimap.cnstr/move_assign_noexcept.pass.cpp =================================================================== --- test/std/containers/unord/unord.multimap/unord.multimap.cnstr/move_assign_noexcept.pass.cpp +++ test/std/containers/unord/unord.multimap/unord.multimap.cnstr/move_assign_noexcept.pass.cpp @@ -22,6 +22,7 @@ #include #include +#include "test_macros.h" #include "MoveOnly.h" #include "test_allocator.h" @@ -56,7 +57,7 @@ { typedef std::unordered_multimap, std::equal_to, other_allocator>> C; - static_assert(std::is_nothrow_move_assignable::value, ""); + LIBCPP_STATIC_ASSERT(std::is_nothrow_move_assignable::value, ""); } { typedef std::unordered_multimap> C; Index: test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move_assign_noexcept.pass.cpp =================================================================== --- test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move_assign_noexcept.pass.cpp +++ test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move_assign_noexcept.pass.cpp @@ -22,6 +22,7 @@ #include #include +#include "test_macros.h" #include "MoveOnly.h" #include "test_allocator.h" @@ -56,7 +57,7 @@ { typedef std::unordered_multiset, std::equal_to, other_allocator> C; - static_assert(std::is_nothrow_move_assignable::value, ""); + LIBCPP_STATIC_ASSERT(std::is_nothrow_move_assignable::value, ""); } { typedef std::unordered_multiset> C; Index: test/std/containers/unord/unord.set/unord.set.cnstr/move_assign_noexcept.pass.cpp =================================================================== --- test/std/containers/unord/unord.set/unord.set.cnstr/move_assign_noexcept.pass.cpp +++ test/std/containers/unord/unord.set/unord.set.cnstr/move_assign_noexcept.pass.cpp @@ -22,6 +22,7 @@ #include #include +#include "test_macros.h" #include "MoveOnly.h" #include "test_allocator.h" @@ -56,7 +57,7 @@ { typedef std::unordered_set, std::equal_to, other_allocator> C; - static_assert(std::is_nothrow_move_assignable::value, ""); + LIBCPP_STATIC_ASSERT(std::is_nothrow_move_assignable::value, ""); } { typedef std::unordered_set> C;