ReactOS 0.4.16-dev-401-g45b008d
_StorageType< _Tp > Struct Template Reference

#include <_tools.h>

Public Types

enum  { use_void_ptr = (sizeof(_UseVoidPtrStorageType(_PODType(), __null_rep())) == sizeof(char*)) }
 
enum  { use_const_void_ptr = (sizeof(_UseConstVoidPtrStorageType(_PODType(), __null_rep())) == sizeof(char*)) }
 
enum  { use_volatile_void_ptr = (sizeof(_UseVolatileVoidPtrStorageType(_PODType(), __null_rep())) == sizeof(char*)) }
 
enum  { use_const_volatile_void_ptr = (sizeof(_UseConstVolatileVoidPtrStorageType(_PODType(), __null_rep())) == sizeof(char*)) }
 
typedef __type_traits< _Tp >::is_POD_type _PODType
 
typedef __select<!use_const_volatile_void_ptr, _Tp, typename__select< use_void_ptr, void *, typename__select< use_const_void_ptr, constvoid *, typename__select< use_volatile_void_ptr, volatilevoid *, constvolatilevoid * >::_Ret >::_Ret >::_Ret >::_Ret _QualifiedType
 
typedef _QualifiedType _Type
 

Static Public Member Functions

static _Tp __null_rep ()
 

Detailed Description

template<class _Tp>
struct _StorageType< _Tp >

Definition at line 142 of file _tools.h.

Member Typedef Documentation

◆ _PODType

template<class _Tp >
typedef __type_traits<_Tp>::is_POD_type _StorageType< _Tp >::_PODType

Definition at line 143 of file _tools.h.

◆ _QualifiedType

template<class _Tp >
typedef __select<!use_const_volatile_void_ptr,_Tp,typename__select<use_void_ptr,void*,typename__select<use_const_void_ptr,constvoid*,typename__select<use_volatile_void_ptr,volatilevoid*,constvolatilevoid*>::_Ret>::_Ret>::_Ret>::_Ret _StorageType< _Tp >::_QualifiedType

Definition at line 163 of file _tools.h.

◆ _Type

template<class _Tp >
typedef _QualifiedType _StorageType< _Tp >::_Type

Definition at line 171 of file _tools.h.

Member Enumeration Documentation

◆ anonymous enum

template<class _Tp >
anonymous enum
Enumerator
use_void_ptr 

Definition at line 150 of file _tools.h.

150{ use_void_ptr = (sizeof(_UseVoidPtrStorageType(_PODType(), __null_rep())) == sizeof(char*)) };
char _UseVoidPtrStorageType(const __false_type &, const _Tp &)
__type_traits< _Tp >::is_POD_type _PODType
Definition: _tools.h:143
@ use_void_ptr
Definition: _tools.h:150
static _Tp __null_rep()

◆ anonymous enum

template<class _Tp >
anonymous enum
Enumerator
use_const_void_ptr 

Definition at line 151 of file _tools.h.

151{ use_const_void_ptr = (sizeof(_UseConstVoidPtrStorageType(_PODType(), __null_rep())) == sizeof(char*)) };
char _UseConstVoidPtrStorageType(const __false_type &, const _Tp &)
@ use_const_void_ptr
Definition: _tools.h:151

◆ anonymous enum

template<class _Tp >
anonymous enum
Enumerator
use_volatile_void_ptr 

Definition at line 152 of file _tools.h.

152{ use_volatile_void_ptr = (sizeof(_UseVolatileVoidPtrStorageType(_PODType(), __null_rep())) == sizeof(char*)) };
char _UseVolatileVoidPtrStorageType(const __false_type &, const _Tp &)
@ use_volatile_void_ptr
Definition: _tools.h:152

◆ anonymous enum

template<class _Tp >
anonymous enum
Enumerator
use_const_volatile_void_ptr 

Definition at line 153 of file _tools.h.

char _UseConstVolatileVoidPtrStorageType(const __false_type &, const _Tp &)
@ use_const_volatile_void_ptr
Definition: _tools.h:153

Member Function Documentation

◆ __null_rep()

template<class _Tp >
static _Tp _StorageType< _Tp >::__null_rep ( )
static

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