]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/fusion/test/sequence/std_tuple.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / fusion / test / sequence / std_tuple.cpp
index 257fd85066a70e28a71ce07601b4e6cf3f99a4c0..3d7110710fe62660bd2d8b2c391b772ca326fef3 100644 (file)
@@ -8,8 +8,10 @@
 #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>
@@ -19,8 +21,7 @@
 #include <tuple>
 #include <string>
 
-int
-main()
+int main()
 {
     using namespace boost::fusion;
     using namespace boost;
@@ -34,13 +35,3 @@ main()
 
     return boost::report_errors();
 }
-
-#else
-
-int
-main()
-{
-    return 0;
-}
-
-#endif