mirror of
https://github.com/boostorg/unordered.git
synced 2025-05-11 13:34:06 +00:00
Remove BOOST_NO_CXX11_NOEXCEPT
This commit is contained in:
parent
a36a7327eb
commit
cddb7cb8b1
@ -36,11 +36,7 @@ template <class T> T rvalue_default() { return T(); }
|
||||
|
||||
template <class T> T implicit_construct() { return {}; }
|
||||
|
||||
#if !defined(BOOST_NO_CXX11_NOEXCEPT)
|
||||
#define TEST_NOEXCEPT_EXPR(x) BOOST_STATIC_ASSERT((noexcept(x)));
|
||||
#else
|
||||
#define TEST_NOEXCEPT_EXPR(x)
|
||||
#endif
|
||||
|
||||
template <class X, class T> void container_test(X& r, T const&)
|
||||
{
|
||||
|
@ -176,18 +176,9 @@ namespace noexcept_tests {
|
||||
boost::is_nothrow_swappable<hash_nothrow_swap>::value;
|
||||
|
||||
// Check that the traits work when expected.
|
||||
#if !defined(BOOST_NO_CXX11_NOEXCEPT) && !defined(BOOST_NO_SFINAE_EXPR) && \
|
||||
!BOOST_WORKAROUND(BOOST_GCC_VERSION, < 40800)
|
||||
BOOST_TEST(have_is_nothrow_move);
|
||||
BOOST_TEST(have_is_nothrow_move_assign);
|
||||
#endif
|
||||
|
||||
#if !defined(BOOST_NO_SFINAE_EXPR) && !defined(BOOST_NO_CXX11_NOEXCEPT) && \
|
||||
!defined(BOOST_NO_CXX11_DECLTYPE) && \
|
||||
!defined(BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS) && \
|
||||
!BOOST_WORKAROUND(BOOST_GCC_VERSION, < 40700)
|
||||
BOOST_TEST(have_is_nothrow_swap);
|
||||
#endif
|
||||
|
||||
BOOST_LIGHTWEIGHT_TEST_OSTREAM
|
||||
<< "have_is_nothrow_move: " << have_is_nothrow_move << std::endl
|
||||
|
Loading…
x
Reference in New Issue
Block a user