StandardType< T, INTEGRAL > Struct Template Reference

#include <apibase.h>

Detailed Description

template<typename T, Bool INTEGRAL = STD_IS_REPLACEMENT(integral, T)>
struct maxon::StandardType< T, INTEGRAL >

This type trait has a type alias member type which normally points the type T itself. But for integral types (other than Bool, Utf16Char and Utf32Char) this points to the type of the MAXON API which matches T in size and signedness. For example StandardType<long long>::type is Int64, although on some platforms long long differs from Int64.

Template Parameters
TThe type for which the standard type shall be obtained.

Public Types

using type = T