]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/spirit/test/qi/alternative.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / spirit / test / qi / alternative.cpp
index d0a904be2ffa665f9bdebe8402255ba3a7e92366..4f7aa677dd0946135e6a754aff895a28c4beb64d 100644 (file)
@@ -240,12 +240,15 @@ main()
     }
 
     {
+#ifdef SPIRIT_NO_COMPILE_CHECK
         //compile test only (bug_march_10_2011_8_35_am)
+        // TODO: does not work as intended with std <= c++03
         typedef boost::variant<double, std::string> value_type;
 
         using boost::spirit::qi::rule;
         using boost::spirit::qi::eps;
         rule<std::string::const_iterator, value_type()> r1 = r1 | eps;
+#endif
     }
 
     {