decay¶
Header¶
#include <boost/hof/decay.hpp>
Description¶
The decay function is a unary function object that returns whats given to it after decaying its type.
Synopsis¶
struct
{
    template<class T>
    constexpr typename decay<T>::type operator()(T&& x) const
    {
        return boost::hof::forward<T>(x);
    }
} decay;




