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

Go to the source code of this file.

Classes

class  SYS_IsArithmetic< T >
 Check whether a type is arithmetic (integer or floating-point type). More...
 
class  SYS_IsIntegral< T >
 Check whether a type is an integral type. More...
 
class  SYS_IsFloatingPoint< T >
 Check whether a type is a floating point type. More...
 
class  SYS_IsSigned< T >
 Check whether an arithmetic type is signed. More...
 
class  SYS_IsSame< T1, T2 >
 
class  SYS_IsPointer< T >
 
class  SYS_IsPointer< U * >
 
class  SYS_ConstType< T, CONST >
 
class  SYS_ConstType< T, true >
 
class  SYS_SelectType< T0, T1, IST1 >
 
class  SYS_SelectType< T0, T1, true >
 
class  SYS_EnableIf< B, T >
 
class  SYS_DisableIf< B, T >
 
#define SYScountof(array)   sizeof(*SYScountOfHelper(array))
 
template<typename T , size_t N>
char(* SYScountOfHelper (T(&array_arg)[N]))[N]
 

Macro Definition Documentation

#define SYScountof (   array)    sizeof(*SYScountOfHelper(array))

Return the number of elements of a static array

Definition at line 138 of file SYS_TypeTraits.h.

Function Documentation

template<typename T , size_t N>
char(* SYScountOfHelper ( T(&)  array_arg[N]) )[N]

Return the number of elements of a static array