GetErasedType< T, DEF, typename > Struct Template Reference

#include <apibase.h>

Detailed Description

template<typename T, typename DEF = T, typename = void>
struct maxon::GetErasedType< T, DEF, typename >

This type trait checks if T has a ErasedType type member. If so, its member value will be true and its member type will be a type alias for the ErasedType of T. Otherwise type is a type alias for T itself.

Template Parameters
TType to check.

Public Types

using type = DEF
 

Static Public Attributes

static const maxon::Bool value
 

Member Typedef Documentation

◆ type

using type = DEF

Member Data Documentation

◆ value

const maxon::Bool value
static