2
0
mirror of https://github.com/boostorg/lambda.git synced 2026-01-19 16:22:20 +00:00

Disable failing test under msvc-12.0 and below

This commit is contained in:
Peter Dimov
2021-12-26 17:36:36 +02:00
parent 074bc275c8
commit dbca56c00f

View File

@@ -131,6 +131,10 @@ void test_unlambda() {
// In C++20, standard functors no longer have ::result_type
BOOST_CHECK(call_with_100(bl::bind(std::bind(std::plus<int>(), 1, std::placeholders::_1), _1)) == 101);
#elif defined(BOOST_MSVC) && BOOST_MSVC < 1900
// Mysterious failures under msvc-12.0 and below
#else
BOOST_CHECK(call_with_100(bl::bind(std_functor(std::bind(std::plus<int>(), 1, std::placeholders::_1)), _1)) == 101);