Blaze  3.6
RemoveCVRef.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_UTIL_TYPETRAITS_REMOVECVREF_H_
36 #define _BLAZE_UTIL_TYPETRAITS_REMOVECVREF_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 //*************************************************************************************************
72 template< typename T >
74 {
75  public:
76  //**********************************************************************************************
78  using Type = typename std::remove_cv< typename std::remove_reference<T>::type >::type;
80  //**********************************************************************************************
81 };
82 //*************************************************************************************************
83 
84 
85 //*************************************************************************************************
98 template< typename T >
100 //*************************************************************************************************
101 
102 } // namespace blaze
103 
104 #endif
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Removal of top level cv-qualifiers.The RemoveCVRef type trait removes any reference modifiers and all...
Definition: RemoveCVRef.h:73
typename RemoveCVRef< T >::Type RemoveCVRef_t
Auxiliary alias declaration for the RemoveCVRef type trait.The RemoveCVRef_t alias declaration provid...
Definition: RemoveCVRef.h:99