Blaze
3.9
blaze
util
typetraits
RemoveVolatile.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_UTIL_TYPETRAITS_REMOVEVOLATILE_H_
36
#define _BLAZE_UTIL_TYPETRAITS_REMOVEVOLATILE_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <type_traits>
44
45
46
namespace
blaze {
47
48
//=================================================================================================
49
//
50
// CLASS DEFINITION
51
//
52
//=================================================================================================
53
54
//*************************************************************************************************
70
template
<
typename
T >
71
struct
RemoveVolatile
72
{
73
public
:
74
//**********************************************************************************************
76
using
Type =
typename
std::remove_volatile<T>::type;
78
//**********************************************************************************************
79
};
80
//*************************************************************************************************
81
82
83
//*************************************************************************************************
96
template
<
typename
T >
97
using
RemoveVolatile_t
=
typename
RemoveVolatile<T>::Type
;
98
//*************************************************************************************************
99
100
}
// namespace blaze
101
102
#endif
blaze::RemoveVolatile_t
typename RemoveVolatile< T >::Type RemoveVolatile_t
Auxiliary alias declaration for the RemoveVolatile type trait.
Definition:
RemoveVolatile.h:97
blaze::RemoveVolatile
Removal of volatile-qualifiers.
Definition:
RemoveVolatile.h:72
Generated by
1.9.3