Merge pull request #135 from boostorg/bugfix/gcc-4-6-is_nothrow_swappable

bypassed check in GCC<=4.6 (boost::is_nothrow_swappable not properly …
This commit is contained in:
joaquintides
2022-06-28 10:09:02 +02:00
committed by GitHub

View File

@ -189,7 +189,8 @@ namespace noexcept_tests {
#if !defined(BOOST_NO_SFINAE_EXPR) && !defined(BOOST_NO_CXX11_NOEXCEPT) && \
!defined(BOOST_NO_CXX11_DECLTYPE) && \
!defined(BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS)
!defined(BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS) && \
!BOOST_WORKAROUND(BOOST_GCC_VERSION, < 40700)
BOOST_TEST(have_is_nothrow_swap);
#endif