|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r85133 - trunk/libs/circular_buffer/test
From: antoshkka_at_[hidden]
Date: 2013-07-23 12:06:39
Author: apolukhin
Date: 2013-07-23 12:06:38 EDT (Tue, 23 Jul 2013)
New Revision: 85133
URL: http://svn.boost.org/trac/boost/changeset/85133
Log:
Fix errors in circular_buffer tests(refs #7888).
Text files modified:
trunk/libs/circular_buffer/test/common.ipp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Modified: trunk/libs/circular_buffer/test/common.ipp
==============================================================================
--- trunk/libs/circular_buffer/test/common.ipp Tue Jul 23 10:43:17 2013 (r85132)
+++ trunk/libs/circular_buffer/test/common.ipp 2013-07-23 12:06:38 EDT (Tue, 23 Jul 2013) (r85133)
@@ -2291,17 +2291,18 @@
}
void check_containers_exception_specifications() {
-#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
-
+#ifndef BOOST_NO_CXX11_NOEXCEPT
#ifndef BOOST_CLANG
// Clang has an error in __has_nothrow_constructor implementation:
// http://llvm.org/bugs/show_bug.cgi?id=16627
BOOST_CHECK(boost::has_nothrow_constructor<CB_CONTAINER<int> >::value);
#endif
+#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
BOOST_CHECK(boost::is_nothrow_move_assignable<CB_CONTAINER<int> >::value);
BOOST_CHECK(boost::is_nothrow_move_constructible<CB_CONTAINER<int> >::value);
#endif
+#endif // BOOST_NO_CXX11_NOEXCEPT
}
// add common tests into a test suite
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk