Blaze 3.9
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
46namespace blaze {
47
48//=================================================================================================
49//
50// CLASS DEFINITION
51//
52//=================================================================================================
53
54//*************************************************************************************************
69template< typename T >
71{
72 public:
73 //**********************************************************************************************
75 using Type = typename std::remove_const<T>::type;
77 //**********************************************************************************************
78};
79//*************************************************************************************************
80
81
82//*************************************************************************************************
95template< typename T >
97//*************************************************************************************************
98
99} // namespace blaze
100
101#endif
typename RemoveConst< T >::Type RemoveConst_t
Auxiliary alias declaration for the RemoveConst type trait.
Definition: RemoveConst.h:96
Removal of const-qualifiers.
Definition: RemoveConst.h:71