]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/type_erasure/concept_of.hpp
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / boost / boost / type_erasure / concept_of.hpp
index 43b4de52d7a4603c7b79c7da38720bfbdb7947ed..f4b12dc7439a72f4432f0b1590bb45de3e2d4cd5 100644 (file)
 #ifndef BOOST_TYPE_ERASURE_CONCEPT_OF_HPP_INCLUDED
 #define BOOST_TYPE_ERASURE_CONCEPT_OF_HPP_INCLUDED
 
+#include <boost/config.hpp>
+
 namespace boost {
 namespace type_erasure {
 
+#ifndef BOOST_TYPE_ERASURE_DOXYGEN
+
 template<class Concept, class T>
 class any;
 
 template<class Concept, class T>
 class param;
 
+#endif
+
 /**
  * A metafunction returning the concept corresponding
  * to an @ref any.  It will also work for all bases
@@ -52,6 +58,13 @@ struct concept_of< ::boost::type_erasure::param<Concept, T> >
     typedef Concept type;
 };
 
+#ifndef BOOST_NO_CXX11_TEMPLATE_ALIASES
+
+template<class T>
+using concept_of_t = typename ::boost::type_erasure::concept_of<T>::type;
+
+#endif
+
 }
 }