]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/spirit/home/x3/numeric/real.hpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / boost / spirit / home / x3 / numeric / real.hpp
index a90543fc69d50b6cd5bc20d52dfbefc4fea1d87c..dac46bb090bd747ef98857128ca0a2fed1c701f7 100644 (file)
@@ -20,10 +20,10 @@ namespace boost { namespace spirit { namespace x3
         typedef T attribute_type;
         static bool const has_attribute = true;
 
-        real_parser()
+        constexpr real_parser()
                : policies() {}
 
-        real_parser(RealPolicies const& policies)
+        constexpr real_parser(RealPolicies const& policies)
                : policies(policies) {}
 
         template <typename Iterator, typename Context>
@@ -52,13 +52,13 @@ namespace boost { namespace spirit { namespace x3
     };
 
     typedef real_parser<float> float_type;
-    float_type const float_ = {};
+    constexpr float_type float_ = {};
 
     typedef real_parser<double> double_type;
-    double_type const double_ = {};
+    constexpr double_type double_ = {};
 
     typedef real_parser<long double> long_double_type;
-    long_double_type const long_double = {};
+    constexpr long_double_type long_double = {};
 
 }}}