#include <boost/config.hpp>
// adapted/std_tuple.hpp only supports implementations using variadic templates
-#if !defined(BOOST_NO_CXX11_HDR_TUPLE) && \
- !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
+#if defined(BOOST_NO_CXX11_HDR_TUPLE) || \
+ defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
+# error "does not meet requirements"
+#endif
#include <boost/detail/lightweight_test.hpp>
#include <boost/fusion/adapted/std_tuple.hpp>
#include <tuple>
#include <string>
-int
-main()
+int main()
{
using namespace boost::fusion;
using namespace boost;
return boost::report_errors();
}
-
-#else
-
-int
-main()
-{
- return 0;
-}
-
-#endif