HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SYS_ConstType< T, MAKE_CONST > Struct Template Reference

#include <SYS_TypeTraits.h>

+ Inheritance diagram for SYS_ConstType< T, MAKE_CONST >:

Additional Inherited Members

- Public Types inherited from SYS_TypeIdentity< T >
using type = T
 

Detailed Description

template<typename T, bool MAKE_CONST>
struct SYS_ConstType< T, MAKE_CONST >

Choose whether to make a type const or not with a template bool. This allows a set of types to be made const or not with a single bool template, instead of having a separate template parameter for each type.

Definition at line 193 of file SYS_TypeTraits.h.


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