summaryrefslogtreecommitdiff
path: root/boost/type_traits/add_volatile.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/type_traits/add_volatile.hpp')
-rw-r--r--boost/type_traits/add_volatile.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/boost/type_traits/add_volatile.hpp b/boost/type_traits/add_volatile.hpp
index 24f515c802..253751a578 100644
--- a/boost/type_traits/add_volatile.hpp
+++ b/boost/type_traits/add_volatile.hpp
@@ -35,6 +35,12 @@ template <class T> struct add_volatile{ typedef T volatile type; };
template <class T> struct add_volatile<T&>{ typedef T& type; };
+#if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES)
+
+ template <class T> using add_volatile_t = typename add_volatile<T>::type;
+
+#endif
+
} // namespace boost
#endif // BOOST_TT_ADD_VOLATILE_HPP_INCLUDED