Evo C++ Library v0.5.1
Public Types | Static Public Attributes | List of all members
TypeId::GetFill< T > Struct Template Reference

#include <evo/meta.h>

Detailed Description

template<class T>
struct evo::TypeId::GetFill< T >

Use to get type ID info for type T as for filling arrays/buffers.

Template Parameters
TType to get type ID info on

Public Types

typedef StaticIf< IsPodType< T >::value||IsByteCopyType< T >::value, typename StaticIf< sizeof(T)==1, Pod, ByteCopy >::Type, Normal >::Type Id
 Type ID for type T (Pod for memset, ByteCopy for memcpy, Normal for assignment). More...
 

Static Public Attributes

static const Enum ENUM = (IsPodType<T>::value ? POD : (IsByteCopyType<T>::value ? BCOPY : NORMAL))
 Enum value for type T (POD for memset, BCOPY for memcpy, NORMAL for assignment). More...
 

Member Typedef Documentation

◆ Id

typedef StaticIf< IsPodType<T>::value || IsByteCopyType<T>::value, typename StaticIf<sizeof(T) == 1, Pod, ByteCopy>::Type, Normal >::Type Id

Type ID for type T (Pod for memset, ByteCopy for memcpy, Normal for assignment).

Member Data Documentation

◆ ENUM

const Enum ENUM = (IsPodType<T>::value ? POD : (IsByteCopyType<T>::value ? BCOPY : NORMAL))
static

Enum value for type T (POD for memset, BCOPY for memcpy, NORMAL for assignment).


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