Struct conditional

Synopsis

#include <include/EASTL/type_traits.h>

template<bool B, typename T, typename F>
struct conditional

Description

conditional

Provides member typedef type which is defined as T if B is true at compile time, or as F if B is false.

Source

Lines 472-473 in include/EASTL/type_traits.h.

template<bool B, typename T, typename F>
struct conditional { typedef T type; };





Add Discussion as Guest

Log in