]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/spirit/home/x3/operator/difference.hpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / boost / spirit / home / x3 / operator / difference.hpp
index 8ca2a9688800269cdbb7b027875a8381d8f35d04..36de0a1d846442cc03b6f547898d164ffa89cb10 100644 (file)
@@ -19,7 +19,7 @@ namespace boost { namespace spirit { namespace x3
         typedef binary_parser<Left, Right, difference<Left, Right>> base_type;
         static bool const handles_container = Left::handles_container;
 
-        difference(Left const& left, Right const& right)
+        constexpr difference(Left const& left, Right const& right)
           : base_type(left, right) {}
 
         template <typename Iterator, typename Context
@@ -40,7 +40,7 @@ namespace boost { namespace spirit { namespace x3
         }
 
         template <typename Left_, typename Right_>
-        difference<Left_, Right_>
+        constexpr difference<Left_, Right_>
         make(Left_ const& left, Right_ const& right) const
         {
             return { left, right };
@@ -48,7 +48,7 @@ namespace boost { namespace spirit { namespace x3
     };
 
     template <typename Left, typename Right>
-    inline difference<
+    constexpr difference<
         typename extension::as_parser<Left>::value_type
       , typename extension::as_parser<Right>::value_type>
     operator-(Left const& left, Right const& right)