summaryrefslogtreecommitdiff
path: root/boost/type_erasure/derived.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/type_erasure/derived.hpp')
-rw-r--r--boost/type_erasure/derived.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/boost/type_erasure/derived.hpp b/boost/type_erasure/derived.hpp
index 42316d2b57..844d9c2072 100644
--- a/boost/type_erasure/derived.hpp
+++ b/boost/type_erasure/derived.hpp
@@ -31,6 +31,13 @@ struct derived
#endif
};
+#ifndef BOOST_NO_CXX11_TEMPLATE_ALIASES
+
+template<class T>
+using derived_t = typename T::_boost_type_erasure_derived_type;
+
+#endif
+
}
}