Struct decay

Synopsis

#include <include/EASTL/internal/type_compound.h>

template<typename T>
struct decay

Description

No description yet.

Source

Lines 664-678 in include/EASTL/internal/type_compound.h.

template<typename T>
struct decay
{
    typedef typename eastl::remove_reference<T>::type U;
    typedef typename eastl::conditional< 
        eastl::is_array<U>::value,
        typename eastl::remove_extent<U>::type*,
        typename eastl::conditional< 
            eastl::is_function<U>::value,
            typename eastl::add_pointer<U>::type,
            typename eastl::remove_cv<U>::type
        >::type
    >::type type;
};





Add Discussion as Guest

Log in