diff --git a/test/sequence/std_tuple.cpp b/test/sequence/std_tuple.cpp index 3ac6e387..2495fa55 100644 --- a/test/sequence/std_tuple.cpp +++ b/test/sequence/std_tuple.cpp @@ -7,7 +7,9 @@ #include -#if !defined(BOOST_NO_CXX11_HDR_TUPLE) +// adapted/std_tuple.hpp only supports implementations using variadic templates +#if !defined(BOOST_NO_CXX11_HDR_TUPLE) && \ + !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) #include #include @@ -23,15 +25,12 @@ main() using namespace boost::fusion; using namespace boost; -// The convert only supports implementations using variadic templates -#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) { // conversion vector to std tuple std::tuple t = convert(make_vector(123, "Hola!!!")); BOOST_TEST(std::get<0>(t) == 123); BOOST_TEST(std::get<1>(t) == "Hola!!!"); } -#endif return boost::report_errors(); }