]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/beast/http/detail/type_traits.hpp
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / boost / boost / beast / http / detail / type_traits.hpp
index c9a06f9784625e1978958c7ce26d999353484328..1d0c9918262c89aec550dfc1665beaa807d2a910 100644 (file)
@@ -194,6 +194,22 @@ struct is_fields_helper : T
         t10::value && t11::value && t12::value>;
 };
 
+template<class T>
+using has_deprecated_body_writer =
+    std::integral_constant<bool,
+        std::is_constructible<typename T::writer,
+            message<true, T, detail::fields_model>&>::value &&
+        std::is_constructible<typename T::writer,
+            message<false, T, detail::fields_model>&>::value>;
+
+template<class T>
+using has_deprecated_body_reader =
+    std::integral_constant<bool,
+        std::is_constructible<typename T::reader,
+            message<true, T, detail::fields_model>&>::value &&
+        std::is_constructible<typename T::reader,
+            message<false, T, detail::fields_model>&>::value>;
+
 } // detail
 } // http
 } // beast