mirror of
https://github.com/boostorg/thread.git
synced 2026-02-28 05:42:10 +00:00
Don't execute test for launch::deferred if BOOST_THREAD_PROVIDES_VARIADIC_THREAD is not defined.
This commit is contained in:
@@ -281,7 +281,7 @@ int main()
|
||||
BOOST_TEST(res[1].is_ready());
|
||||
BOOST_TEST(res[1].get() == 321);
|
||||
}
|
||||
#if ! defined BOOST_NO_CXX11_DECLTYPE_N3276
|
||||
#if defined BOOST_THREAD_PROVIDES_VARIADIC_THREAD
|
||||
// fixme darwin-4.8.0_11 terminate called without an active exception
|
||||
{ // deferred future copy-constructible
|
||||
boost::future<int> f1 = boost::async(boost::launch::deferred, &p1);
|
||||
|
||||
@@ -152,7 +152,7 @@ int main()
|
||||
BOOST_TEST(boost::csbl::get<0>(res).is_ready());
|
||||
BOOST_TEST(boost::csbl::get<0>(res).get() == 123);
|
||||
}
|
||||
#if ! defined BOOST_NO_CXX11_DECLTYPE_N3276
|
||||
#if defined BOOST_THREAD_PROVIDES_VARIADIC_THREAD
|
||||
// fixme darwin-4.8.0_11 terminate called without an active exception
|
||||
{ // deferred future copy-constructible
|
||||
boost::future<int> f1 = boost::async(boost::launch::deferred, &p1);
|
||||
|
||||
@@ -236,7 +236,7 @@ int main()
|
||||
BOOST_TEST(boost::csbl::get<1>(res).is_ready());
|
||||
BOOST_TEST(boost::csbl::get<1>(res).get() == 321);
|
||||
}
|
||||
#if ! defined BOOST_NO_CXX11_DECLTYPE_N3276
|
||||
#if defined BOOST_THREAD_PROVIDES_VARIADIC_THREAD
|
||||
// fixme darwin-4.8.0_11 terminate called without an active exception
|
||||
{ // deferred future copy-constructible
|
||||
boost::future<int> f1 = boost::async(boost::launch::deferred, &p1);
|
||||
|
||||
@@ -283,7 +283,7 @@ int main()
|
||||
BOOST_TEST(res[1].is_ready());
|
||||
BOOST_TEST(res[1].get() == 321);
|
||||
}
|
||||
#if ! defined BOOST_NO_CXX11_DECLTYPE_N3276
|
||||
#if defined BOOST_THREAD_PROVIDES_VARIADIC_THREAD
|
||||
// fixme darwin-4.8.0_11 terminate called without an active exception
|
||||
{ // deferred future copy-constructible
|
||||
boost::future<int> f1 = boost::async(boost::launch::deferred, &p1);
|
||||
|
||||
@@ -125,7 +125,7 @@ int main()
|
||||
BOOST_TEST(boost::csbl::get<0>(res).is_ready());
|
||||
BOOST_TEST(boost::csbl::get<0>(res).get() == 123);
|
||||
}
|
||||
#if ! defined BOOST_NO_CXX11_DECLTYPE_N3276
|
||||
#if defined BOOST_THREAD_PROVIDES_VARIADIC_THREAD
|
||||
// fixme darwin-4.8.0_11 terminate called without an active exception
|
||||
{ // deferred future copy-constructible
|
||||
boost::future<int> f1 = boost::async(boost::launch::deferred, &p1);
|
||||
|
||||
@@ -225,7 +225,7 @@ int main()
|
||||
BOOST_TEST(boost::csbl::get<0>(res).get() == 123);
|
||||
BOOST_TEST(boost::csbl::get<1>(res).get() == 321);
|
||||
}
|
||||
#if ! defined BOOST_NO_CXX11_DECLTYPE_N3276
|
||||
#if defined BOOST_THREAD_PROVIDES_VARIADIC_THREAD
|
||||
// fixme darwin-4.8.0_11 terminate called without an active exception
|
||||
{ // deferred future copy-constructible
|
||||
boost::future<int> f1 = boost::async(boost::launch::deferred, &p1);
|
||||
|
||||
Reference in New Issue
Block a user