Boost.Hana: boost::hana::detail::decay< T, U > Struct Template Reference
Boost , ,
Boost.Hana
1.0.1
Your standard library for metaprogramming
Эквивалент std::decay, за исключением более быстрого.
std::decay в libc++ реализован субоптимальным способом. Поскольку функция make<...> используется буквально везде, очень важно, чтобы это было максимально эффективным.
Note
std::decay is still being used in some places in the library. Indeed, this is a peephole optimization and it would not be wise to clutter the code with our own implementation of std::decay, except when this actually makes a difference in compile-times.