HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
apex::APEX_TypeDefault< T > Struct Template Reference

Compile-time information about the default initialization to use for a type visible to the APEX type system. More...

#include <APEX_Types.h>

Static Public Member Functions

static T value ()
 Return a default value for the type. More...
 

Static Public Attributes

static constexpr bool isDefaultConstructing = true
 

Detailed Description

template<typename T>
struct apex::APEX_TypeDefault< T >

Compile-time information about the default initialization to use for a type visible to the APEX type system.

Definition at line 96 of file APEX_Types.h.

Member Function Documentation

template<typename T >
static T apex::APEX_TypeDefault< T >::value ( )
inlinestatic

Return a default value for the type.

Definition at line 99 of file APEX_Types.h.

Member Data Documentation

template<typename T >
constexpr bool apex::APEX_TypeDefault< T >::isDefaultConstructing = true
static

If this member is missing or false in a specialization, the default value is assumed to be something other than T(), and any code that implicitly relies on that being the case will static assert.

Definition at line 104 of file APEX_Types.h.


The documentation for this struct was generated from the following file: