diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-12-05 15:12:59 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-12-05 15:12:59 +0900 |
commit | b8cf34c691623e4ec329053cbbf68522a855882d (patch) | |
tree | 34da08632a99677f6b79ecb65e5b655a5b69a67f /boost/type_erasure/placeholder_of.hpp | |
parent | 3fdc3e5ee96dca5b11d1694975a65200787eab86 (diff) | |
download | boost-b8cf34c691623e4ec329053cbbf68522a855882d.tar.gz boost-b8cf34c691623e4ec329053cbbf68522a855882d.tar.bz2 boost-b8cf34c691623e4ec329053cbbf68522a855882d.zip |
Imported Upstream version 1.67.0upstream/1.67.0
Diffstat (limited to 'boost/type_erasure/placeholder_of.hpp')
-rw-r--r-- | boost/type_erasure/placeholder_of.hpp | 11 |
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 + } } |