template<typename T, typename CHECK = void>
struct maxon::ABIParamType< T, CHECK >
ABIParamType<T>::type
is an erased type which is compatible with T with respect to the calling convention of the ABI when used for a function parameter. For example, ABIParamType maps all integral, enumeration, pointer and reference types to the signed integral type of the same size (reference types are treated like pointer types). The typical use is to reduce the number of instantiations of stub function templates, because those stubs will work correctly even if only the erased types are used.
- Template Parameters
-
T | Type for which the erased, ABI-compatible param type shall be determined. |