carb::cpp::type_identity

Defined in carb/cpp/TypeTraits.h

template<class T>
struct type_identity

Provides the member typedef type that names T (i.e. the identity transformation). This can be used to establish non-deduced contexts in template argument deduction.

Public Types

using type = T

The identity transformation.