Struct common_type< T, U >

Synopsis

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

template<typename T, typename U>
struct common_type<T, U>

Description

No description yet.

Source

Lines 720-724 in include/EASTL/internal/type_compound.h.

template<typename T, typename U>
struct common_type<T, U>
{
    typedef decay_t<decltype(true ? declval<T>() : declval<U>())> type; // The type of a tertiary expression is set by the compiler to be the common type of the two result types.
};





Add Discussion as Guest

Log in