GetDirectlyReferencedType< T, DEF, typename > Struct Template Reference

#include <apibase.h>

Detailed Description

template<typename T, typename DEF = std::false_type, typename = void>
struct maxon::GetDirectlyReferencedType< T, DEF, typename >

This type trait checks if T is a direct reference class, i.e., a class which consists of exactly one pointer member which directly points to the referenced object. If so, its member value will be true and its member type will be a type alias for the DirectlyReferencedType of the reference.

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