]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/spirit/test/x3/actions.cpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / spirit / test / x3 / actions.cpp
index f033e27ef02249607eca097e05ecb9cbcb7a3db3..0ec62b26972ccf5c36f015d48c5aaceeb2c20e07 100644 (file)
@@ -69,6 +69,8 @@ int main()
 
     using x3::int_;
 
+    BOOST_SPIRIT_ASSERT_CONSTEXPR_CTORS(x3::int_type{}[std::true_type{}]);
+
     {
         char const *s1 = "{42}", *e1 = s1 + std::strlen(s1);
         x3::parse(s1, e1, '{' >> int_[fun1] >> '}');
@@ -96,7 +98,7 @@ int main()
        BOOST_TEST(next == '1');
     }
 
-    { // ensure no unneded synthesization, copying and moving occured
+    { // ensure no unneeded synthesization, copying and moving occurred
         auto p = '{' >> int_ >> '}';
 
         stationary st { 0 };