Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
typetraits
RemoveAdaptor.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_MATH_TYPETRAITS_REMOVEADAPTOR_H_
36
#define _BLAZE_MATH_TYPETRAITS_REMOVEADAPTOR_H_
37
38
39
namespace
blaze {
40
41
//=================================================================================================
42
//
43
// CLASS DEFINITION
44
//
45
//=================================================================================================
46
47
//*************************************************************************************************
75
template
<
typename
T >
76
struct
RemoveAdaptor
77
{
78
public
:
79
//**********************************************************************************************
81
using
Type
= T;
83
//**********************************************************************************************
84
};
85
//*************************************************************************************************
86
87
88
//*************************************************************************************************
93
template
<
typename
T >
94
struct
RemoveAdaptor
< const T >
95
{
96
public
:
97
//**********************************************************************************************
98
using
Type
=
const
typename
RemoveAdaptor<T>::Type
;
99
//**********************************************************************************************
100
};
102
//*************************************************************************************************
103
104
105
//*************************************************************************************************
110
template
<
typename
T >
111
struct
RemoveAdaptor< volatile T >
112
{
113
public
:
114
//**********************************************************************************************
115
using
Type =
volatile
typename
RemoveAdaptor<T>::Type;
116
//**********************************************************************************************
117
};
119
//*************************************************************************************************
120
121
122
//*************************************************************************************************
127
template
<
typename
T >
128
struct
RemoveAdaptor
< const volatile T >
129
{
130
public
:
131
//**********************************************************************************************
132
using
Type =
const
volatile
typename
RemoveAdaptor<T>::Type;
133
//**********************************************************************************************
134
};
136
//*************************************************************************************************
137
138
139
//*************************************************************************************************
152
template
<
typename
T >
153
using
RemoveAdaptor_t
=
typename
RemoveAdaptor<T>::Type
;
154
//*************************************************************************************************
155
156
}
// namespace blaze
157
158
#endif
blaze::Type
blaze::RemoveAdaptor_t
typename RemoveAdaptor< T >::Type RemoveAdaptor_t
Auxiliary alias declaration for the RemoveAdaptor type trait.
Definition
RemoveAdaptor.h:153
blaze::RemoveAdaptor
Removal of top level adaptor types.
Definition
RemoveAdaptor.h:77
Generated by
1.18.0