Blaze
3.9
blaze
util
typetraits
RemoveConst.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_UTIL_TYPETRAITS_REMOVECONST_H_
36
#define _BLAZE_UTIL_TYPETRAITS_REMOVECONST_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
//*************************************************************************************************
69
template
<
typename
T >
70
struct
RemoveConst
71
{
72
public
:
73
//**********************************************************************************************
75
using
Type =
typename
std::remove_const<T>::type;
77
//**********************************************************************************************
78
};
79
//*************************************************************************************************
80
81
82
//*************************************************************************************************
95
template
<
typename
T >
96
using
RemoveConst_t
=
typename
RemoveConst<T>::Type
;
97
//*************************************************************************************************
98
99
}
// namespace blaze
100
101
#endif
blaze::RemoveConst_t
typename RemoveConst< T >::Type RemoveConst_t
Auxiliary alias declaration for the RemoveConst type trait.
Definition:
RemoveConst.h:96
blaze::RemoveConst
Removal of const-qualifiers.
Definition:
RemoveConst.h:71
Generated by
1.9.3