You.i Engine
YI_REMOVE_POINTER< YI_TYPE > Struct Template Reference

Detailed Description

template<class YI_TYPE>
struct YI_REMOVE_POINTER< YI_TYPE >

Template/Macro helper utility that removes the pointer from a provided type. Will remove regular pointer type, constant pointer type, volatile pointer type and also constant+volatile pointer type. It has no effect if the provided type does not have a pointer syntax.

Example:

Will instruct the compiler to generate:

int nValue1 = nOtherValue;
int nValue2 = nOtherValue;
int nValue3 = nOtherValue;
int nValue4 = nOtherValue;

#include <utility/YiTypeTraits.h>

Public Types

typedef YI_TYPE type
 

Member Typedef Documentation

template<class YI_TYPE>
typedef YI_TYPE YI_REMOVE_POINTER< YI_TYPE >::type

The type with the pointer removed.


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