]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/unordered/test/helpers/metafunctions.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / unordered / test / helpers / metafunctions.hpp
index 8e36549da582c3bf106b135867f8234b0099b8f6..0442920eb0b7ce91e91e6bc65e9e1b9aa89bca78 100644 (file)
@@ -9,24 +9,26 @@
 #include <boost/config.hpp>
 #include <boost/type_traits/is_same.hpp>
 
-namespace test
-{
-    template <class Container>
-    struct is_set
-        : public boost::is_same<
-            BOOST_DEDUCED_TYPENAME Container::key_type,
-            BOOST_DEDUCED_TYPENAME Container::value_type> {};
+namespace test {
+  template <class Container>
+  struct is_set
+    : public boost::is_same<BOOST_DEDUCED_TYPENAME Container::key_type,
+        BOOST_DEDUCED_TYPENAME Container::value_type>
+  {
+  };
 
-    template <class Container>
-    struct has_unique_keys
-    {
-        static char flip(BOOST_DEDUCED_TYPENAME Container::iterator const&);
-        static long flip(std::pair<BOOST_DEDUCED_TYPENAME Container::iterator, bool> const&);
-        BOOST_STATIC_CONSTANT(bool, value = sizeof(long) == sizeof(
-                flip(((Container*) 0)->insert(*(BOOST_DEDUCED_TYPENAME Container::value_type*) 0))
-            ));
-    };
+  template <class Container> struct has_unique_keys
+  {
+    static char flip(BOOST_DEDUCED_TYPENAME Container::iterator const&);
+    static long flip(
+      std::pair<BOOST_DEDUCED_TYPENAME Container::iterator, bool> const&);
+    BOOST_STATIC_CONSTANT(bool,
+      value = sizeof(long) ==
+              sizeof(
+                flip(((Container*)0)
+                       ->insert(
+                         *(BOOST_DEDUCED_TYPENAME Container::value_type*)0))));
+  };
 }
 
 #endif
-