forked from boostorg/type_traits
binary operators: disable new code for older gcc versions
This commit is contained in:
1 parent
98d6eaf1e9
commit
94e54c030d
5 files changed
+5
-5
No files matched your search
@@ -152,7 +152,7 @@ void common() {
|
||||
TEST_TR(Derived2, bool, true);
|
||||
// compile time error
|
||||
// TEST_T(internal_private, false);
|
||||
#if !defined(BOOST_NO_SFINAE_EXPR) && !defined(BOOST_NO_CXX11_DECLTYPE) && !BOOST_WORKAROUND(BOOST_MSVC, < 1900)
|
||||
#if !defined(BOOST_NO_SFINAE_EXPR) && !defined(BOOST_NO_CXX11_DECLTYPE) && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(BOOST_GCC, < 40900)
|
||||
// There are some things that pass that wouldn't otherwise do so:
|
||||
#if !BOOST_WORKAROUND(BOOST_MSVC, < 1910)
|
||||
TEST_TR(private_op, bool, false);
|
||||
|
||||
@@ -219,7 +219,7 @@ void specific() {
|
||||
BOOST_CHECK_INTEGRAL_CONSTANT((::boost::BOOST_TT_TRAIT_NAME< int* const &, int* &, int & >::value), 0);
|
||||
BOOST_CHECK_INTEGRAL_CONSTANT((::boost::BOOST_TT_TRAIT_NAME< int* const &, int* const &, int const & >::value), 1);
|
||||
|
||||
#if !defined(BOOST_NO_SFINAE_EXPR) && !defined(BOOST_NO_CXX11_DECLTYPE) && !BOOST_WORKAROUND(BOOST_MSVC, < 1900)
|
||||
#if !defined(BOOST_NO_SFINAE_EXPR) && !defined(BOOST_NO_CXX11_DECLTYPE) && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(BOOST_GCC, < 40900)
|
||||
// There are some things that pass that wouldn't otherwise do so:
|
||||
auto f = []() {};
|
||||
#ifndef BOOST_MSVC
|
||||
|
||||
Reference in new issue
Block a user