diff options
Diffstat (limited to 'boost/type_traits/decay.hpp')
-rw-r--r-- | boost/type_traits/decay.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/boost/type_traits/decay.hpp b/boost/type_traits/decay.hpp index 4e8118433e..5b28d052fc 100644 --- a/boost/type_traits/decay.hpp +++ b/boost/type_traits/decay.hpp @@ -37,6 +37,12 @@ namespace boost typedef typename boost::detail::decay_imp<Ty, boost::is_array<Ty>::value, boost::is_function<Ty>::value>::type type; }; +#if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) + + template <class T> using decay_t = typename decay<T>::type; + +#endif + } // namespace boost |