summaryrefslogtreecommitdiff
path: root/boost/type_erasure/concept_of.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/type_erasure/concept_of.hpp')
-rw-r--r--boost/type_erasure/concept_of.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/boost/type_erasure/concept_of.hpp b/boost/type_erasure/concept_of.hpp
index 43b4de52d7..f4b12dc743 100644
--- a/boost/type_erasure/concept_of.hpp
+++ b/boost/type_erasure/concept_of.hpp
@@ -11,15 +11,21 @@
#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
+
}
}