binary operators: msvc-12 and under can't cope with new gcc workarounds, so disable in that case.

This commit is contained in:
jzmaddock committed 2018-02-13 19:55:06 +00:00
1 parent 84f9b6da68
commit 875b95974a
7 files changed
+15 -13

No files matched your search

+1 -1
View File
@@ -233,7 +233,7 @@ void specific() {
(void)f;
(void)f2;
#elif !defined(BOOST_NO_CXX11_LAMBDAS)
#elif !defined(BOOST_NO_CXX11_LAMBDAS) && !defined(BOOST_MSVC)
auto f = []() {};
auto f2 = [](double)->int { return 2; };
BOOST_CHECK_INTEGRAL_CONSTANT((::boost::BOOST_TT_TRAIT_NAME< decltype(f)>::value), 0);
+1 -1
View File
@@ -233,7 +233,7 @@ void specific() {
(void)f;
(void)f2;
#elif !defined(BOOST_NO_CXX11_LAMBDAS)
#elif !defined(BOOST_NO_CXX11_LAMBDAS) && !defined(BOOST_MSVC)
auto f = []() {};
auto f2 = [](double)->int { return 2; };
BOOST_CHECK_INTEGRAL_CONSTANT((::boost::BOOST_TT_TRAIT_NAME< decltype(f)>::value), 0);
+1 -1
View File
@@ -233,7 +233,7 @@ void specific() {
(void)f;
(void)f2;
#elif !defined(BOOST_NO_CXX11_LAMBDAS)
#elif !defined(BOOST_NO_CXX11_LAMBDAS) && !defined(BOOST_MSVC)
auto f = []() {};
auto f2 = [](double)->int { return 2; };
BOOST_CHECK_INTEGRAL_CONSTANT((::boost::BOOST_TT_TRAIT_NAME< decltype(f)>::value), 0);
+1 -1
View File
@@ -233,7 +233,7 @@ void specific() {
(void)f;
(void)f2;
#elif !defined(BOOST_NO_CXX11_LAMBDAS)
#elif !defined(BOOST_NO_CXX11_LAMBDAS) && !defined(BOOST_MSVC)
auto f = []() {};
auto f2 = [](double)->int { return 2; };
BOOST_CHECK_INTEGRAL_CONSTANT((::boost::BOOST_TT_TRAIT_NAME< decltype(f)>::value), 0);
+1 -1
View File
@@ -233,7 +233,7 @@ void specific() {
(void)f;
(void)f2;
#elif !defined(BOOST_NO_CXX11_LAMBDAS)
#elif !defined(BOOST_NO_CXX11_LAMBDAS) && !defined(BOOST_MSVC)
auto f = []() {};
auto f2 = [](double)->int { return 2; };
BOOST_CHECK_INTEGRAL_CONSTANT((::boost::BOOST_TT_TRAIT_NAME< decltype(f)>::value), 0);
+1 -1
View File
@@ -233,7 +233,7 @@ void specific() {
(void)f;
(void)f2;
#elif !defined(BOOST_NO_CXX11_LAMBDAS)
#elif !defined(BOOST_NO_CXX11_LAMBDAS) && !defined(BOOST_MSVC)
auto f = []() {};
auto f2 = [](double)->int { return 2; };
BOOST_CHECK_INTEGRAL_CONSTANT((::boost::BOOST_TT_TRAIT_NAME< decltype(f)>::value), 0);