From 0564cdb94a7a1facbb0dbf888ceb90638aa70ecd Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 18 Dec 2017 20:12:08 +0000 Subject: Vendor import of libc++ trunk r321017: https://llvm.org/svn/llvm-project/libcxx/trunk@321017 --- .../string.nonmembers/string.special/swap_noexcept.pass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/std/strings/basic.string/string.nonmembers/string.special/swap_noexcept.pass.cpp') diff --git a/test/std/strings/basic.string/string.nonmembers/string.special/swap_noexcept.pass.cpp b/test/std/strings/basic.string/string.nonmembers/string.special/swap_noexcept.pass.cpp index 88c1bee32512..73727198f28e 100644 --- a/test/std/strings/basic.string/string.nonmembers/string.special/swap_noexcept.pass.cpp +++ b/test/std/strings/basic.string/string.nonmembers/string.special/swap_noexcept.pass.cpp @@ -68,7 +68,7 @@ int main() { typedef std::basic_string, some_alloc> C; #if TEST_STD_VER >= 14 - // In c++14, if POCS is set, swapping the allocator is required not to throw + // In C++14, if POCS is set, swapping the allocator is required not to throw static_assert( noexcept(swap(std::declval(), std::declval())), ""); #else static_assert(!noexcept(swap(std::declval(), std::declval())), ""); -- cgit v1.3