Blaze  3.6
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 >
71 {
72  public:
73  //**********************************************************************************************
75  using Type = typename std::remove_const<T>::type;
77  //**********************************************************************************************
78 };
79 //*************************************************************************************************
80 
81 
82 //*************************************************************************************************
95 template< typename T >
97 //*************************************************************************************************
98 
99 } // namespace blaze
100 
101 #endif
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Removal of const-qualifiers.The RemoveConst type trait removes all top level 'const' qualifiers from ...
Definition: RemoveConst.h:70
typename RemoveConst< T >::Type RemoveConst_t
Auxiliary alias declaration for the RemoveConst type trait.The RemoveConst_t alias declaration provid...
Definition: RemoveConst.h:96