[libcxx] r314608 - [test] Allow other implementations to strengthen noexcept on deque's move constructor
Casey Carter via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 30 16:15:22 PDT 2017
Author: caseycarter
Date: Sat Sep 30 16:15:22 2017
New Revision: 314608
URL: http://llvm.org/viewvc/llvm-project?rev=314608&view=rev
Log:
[test] Allow other implementations to strengthen noexcept on deque's move constructor
Modified:
libcxx/trunk/test/std/containers/sequences/deque/deque.cons/move_noexcept.pass.cpp
Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/move_noexcept.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/move_noexcept.pass.cpp?rev=314608&r1=314607&r2=314608&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/move_noexcept.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/move_noexcept.pass.cpp Sat Sep 30 16:15:22 2017
@@ -45,9 +45,9 @@ int main()
typedef std::deque<MoveOnly, other_allocator<MoveOnly>> C;
static_assert(std::is_nothrow_move_constructible<C>::value, "");
}
-#endif // _LIBCPP_VERSION
{
typedef std::deque<MoveOnly, some_alloc<MoveOnly>> C;
static_assert(!std::is_nothrow_move_constructible<C>::value, "");
}
+#endif // _LIBCPP_VERSION
}
More information about the cfe-commits
mailing list