HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SYS_TypeDecorate.h File Reference
#include "SYS_TypeTraits.h"
#include <type_traits>
+ Include dependency graph for SYS_TypeDecorate.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SYS_DECLARE_IS_INTEGRAL(T)
 Declare a type as integral. More...
 
#define SYS_DECLARE_IS_FLOATING_POINT(T)
 Declare a type as floating point. More...
 
#define SYS_DECLARE_IS_POD(T)
 Declare a type as POD. More...
 

Detailed Description

Provides facilities to decorate types that can then be tested using type traits.

Definition in file SYS_TypeDecorate.h.

Macro Definition Documentation

#define SYS_DECLARE_IS_FLOATING_POINT (   T)
Value:
namespace SYS_TypeTraitsImpl{ template<> struct AddFloatingPointNoCV< T > : public std::true_type { \
"SYS_DECLARE_IS_FLOATING_POINT must be used on types without const/volatile qualifiers" ); \
}; }\
GLsizei const GLfloat * value
Definition: glcorearb.h:823

Declare a type as floating point.

Definition at line 32 of file SYS_TypeDecorate.h.

#define SYS_DECLARE_IS_INTEGRAL (   T)
Value:
namespace SYS_TypeTraitsImpl{ template<> struct AddIntegralNoCV< T > : public std::true_type { \
"SYS_DECLARE_IS_INTEGRAL must be used on types without const/volatile qualifiers" ); \
}; }\
GLsizei const GLfloat * value
Definition: glcorearb.h:823

Declare a type as integral.

Definition at line 24 of file SYS_TypeDecorate.h.

#define SYS_DECLARE_IS_POD (   T)
Value:
namespace SYS_TypeTraitsImpl{ template<> struct AddPodNoCV< T > : public std::true_type { \
"SYS_DECLARE_IS_POD must be used on types without const/volatile qualifiers" ); \
}; }\
GLsizei const GLfloat * value
Definition: glcorearb.h:823

Declare a type as POD.

Definition at line 40 of file SYS_TypeDecorate.h.