summaryrefslogtreecommitdiff
path: root/boost/type_erasure/placeholder_of.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/type_erasure/placeholder_of.hpp')
-rw-r--r--boost/type_erasure/placeholder_of.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/boost/type_erasure/placeholder_of.hpp b/boost/type_erasure/placeholder_of.hpp
index 8e8171898d..4a42b5744d 100644
--- a/boost/type_erasure/placeholder_of.hpp
+++ b/boost/type_erasure/placeholder_of.hpp
@@ -14,12 +14,16 @@
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 (const/reference qualified) placeholder
* corresponding to an @ref any. It will also work for all bases
@@ -52,6 +56,13 @@ struct placeholder_of< ::boost::type_erasure::param<Concept, T> >
typedef T type;
};
+#ifndef BOOST_NO_CXX11_TEMPLATE_ALIASES
+
+template<class T>
+using placeholder_of_t = typename ::boost::type_erasure::placeholder_of<T>::type;
+
+#endif
+
}
}