IsAllocType< T, DEF, typename > Struct Template Reference

#include <apibase.h>

Detailed Description

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

This type trait checks if T is type to be allocated via an Alloc function (T has to have a member type IsAllocType then). If so, IsAllocType<T>::value will be true and IsAllocType<T>::type will be different from std::false_type.

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