summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/containers/sequences/vector.bool/default_noexcept.pass.cpp
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2015-06-04 02:05:41 +0000
committerMarshall Clow <mclow.lists@gmail.com>2015-06-04 02:05:41 +0000
commit979550f2210e5c5fb1c061f5b88cdcbd6fa40f36 (patch)
tree3b6df71c23063513f992dd0bb06f86dce638b8b0 /libcxx/test/std/containers/sequences/vector.bool/default_noexcept.pass.cpp
parent70c61c1a8adad268f1058986aa501afb142ecb4c (diff)
downloadbcm5719-llvm-979550f2210e5c5fb1c061f5b88cdcbd6fa40f36.tar.gz
bcm5719-llvm-979550f2210e5c5fb1c061f5b88cdcbd6fa40f36.zip
While applying N4258, I forgot about LWG#2455, which modified the modifications. Correct those - h/t: Howard
llvm-svn: 239004
Diffstat (limited to 'libcxx/test/std/containers/sequences/vector.bool/default_noexcept.pass.cpp')
-rw-r--r--libcxx/test/std/containers/sequences/vector.bool/default_noexcept.pass.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/libcxx/test/std/containers/sequences/vector.bool/default_noexcept.pass.cpp b/libcxx/test/std/containers/sequences/vector.bool/default_noexcept.pass.cpp
index d0a96480834..b94588ead93 100644
--- a/libcxx/test/std/containers/sequences/vector.bool/default_noexcept.pass.cpp
+++ b/libcxx/test/std/containers/sequences/vector.bool/default_noexcept.pass.cpp
@@ -39,21 +39,11 @@ int main()
}
{
typedef std::vector<bool, other_allocator<bool>> C;
-// See N4258 - vector<T, Allocator>::basic_string() noexcept;
-#if TEST_STD_VER <= 14
static_assert(!std::is_nothrow_default_constructible<C>::value, "");
-#else
- static_assert( std::is_nothrow_default_constructible<C>::value, "");
-#endif
}
{
typedef std::vector<bool, some_alloc<bool>> C;
-// See N4258 - vector<T, Allocator>::basic_string() noexcept;
-#if TEST_STD_VER <= 14
static_assert(!std::is_nothrow_default_constructible<C>::value, "");
-#else
- static_assert( std::is_nothrow_default_constructible<C>::value, "");
-#endif
}
#endif
}
OpenPOWER on IntegriCloud