QxOrm 1.4.9
C++ Object Relational Mapping library
Loading...
Searching...
No Matches
qx::trait::remove_attr< T, bRemovePtr, bRemoveConst, bRemoveRef, bRemoveVolatile > Class Template Reference

qx::trait::remove_attr<T>::type : return a type without pointer, const, reference and/or volatile attributes More...

#include <remove_attr.h>

Public Types

typedef type_4 type
 

Private Types

typedef std::conditional< bRemovePtr, typenamestd::remove_pointer< T >::type, T >::type type_1
 
typedef std::conditional< bRemoveConst, typenamestd::remove_const< type_1 >::type, type_1 >::type type_2
 
typedef std::conditional< bRemoveRef, typenamestd::remove_reference< type_2 >::type, type_2 >::type type_3
 
typedef std::conditional< bRemoveVolatile, typenamestd::remove_volatile< type_3 >::type, type_3 >::type type_4
 

Detailed Description

template<typename T, bool bRemovePtr = true, bool bRemoveConst = true, bool bRemoveRef = true, bool bRemoveVolatile = true>
class qx::trait::remove_attr< T, bRemovePtr, bRemoveConst, bRemoveRef, bRemoveVolatile >

qx::trait::remove_attr<T>::type : return a type without pointer, const, reference and/or volatile attributes

Definition at line 54 of file remove_attr.h.

Member Typedef Documentation

◆ type

template<typename T , bool bRemovePtr = true, bool bRemoveConst = true, bool bRemoveRef = true, bool bRemoveVolatile = true>
typedef type_4 qx::trait::remove_attr< T, bRemovePtr, bRemoveConst, bRemoveRef, bRemoveVolatile >::type

Definition at line 66 of file remove_attr.h.

◆ type_1

template<typename T , bool bRemovePtr = true, bool bRemoveConst = true, bool bRemoveRef = true, bool bRemoveVolatile = true>
typedef std::conditional<bRemovePtr,typenamestd::remove_pointer<T>::type,T>::type qx::trait::remove_attr< T, bRemovePtr, bRemoveConst, bRemoveRef, bRemoveVolatile >::type_1
private

Definition at line 59 of file remove_attr.h.

◆ type_2

template<typename T , bool bRemovePtr = true, bool bRemoveConst = true, bool bRemoveRef = true, bool bRemoveVolatile = true>
typedef std::conditional<bRemoveConst,typenamestd::remove_const<type_1>::type,type_1>::type qx::trait::remove_attr< T, bRemovePtr, bRemoveConst, bRemoveRef, bRemoveVolatile >::type_2
private

Definition at line 60 of file remove_attr.h.

◆ type_3

template<typename T , bool bRemovePtr = true, bool bRemoveConst = true, bool bRemoveRef = true, bool bRemoveVolatile = true>
typedef std::conditional<bRemoveRef,typenamestd::remove_reference<type_2>::type,type_2>::type qx::trait::remove_attr< T, bRemovePtr, bRemoveConst, bRemoveRef, bRemoveVolatile >::type_3
private

Definition at line 61 of file remove_attr.h.

◆ type_4

template<typename T , bool bRemovePtr = true, bool bRemoveConst = true, bool bRemoveRef = true, bool bRemoveVolatile = true>
typedef std::conditional<bRemoveVolatile,typenamestd::remove_volatile<type_3>::type,type_3>::type qx::trait::remove_attr< T, bRemovePtr, bRemoveConst, bRemoveRef, bRemoveVolatile >::type_4
private

Definition at line 62 of file remove_attr.h.


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