diff options
Diffstat (limited to 'boost/type_traits/copy_cv.hpp')
-rw-r--r-- | boost/type_traits/copy_cv.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/boost/type_traits/copy_cv.hpp b/boost/type_traits/copy_cv.hpp index 1605ca3356..2f3dc37adc 100644 --- a/boost/type_traits/copy_cv.hpp +++ b/boost/type_traits/copy_cv.hpp @@ -29,6 +29,12 @@ public: typedef typename boost::conditional<boost::is_volatile<U>::value, typename boost::add_volatile<CT>::type, CT>::type type; }; +#if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) + + template <class T, class U> using copy_cv_t = typename copy_cv<T, U>::type; + +#endif + } // namespace boost #endif // #ifndef BOOST_TYPE_TRAITS_COPY_CV_HPP_INCLUDED |