blaze
util
typetraits
RemoveCV.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_UTIL_TYPETRAITS_REMOVECV_H_
36
#define _BLAZE_UTIL_TYPETRAITS_REMOVECV_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
RemoveCV
72
{
73
public
:
74
//**********************************************************************************************
76
using
Type =
typename
std::remove_cv<T>::type;
78
//**********************************************************************************************
79
};
80
//*************************************************************************************************
81
82
83
//*************************************************************************************************
96
template
<
typename
T >
97
using
RemoveCV_t
=
typename
RemoveCV<T>::Type
;
98
//*************************************************************************************************
99
100
}
// namespace blaze
101
102
#endif
blaze
Namespace of the Blaze C++ math library.
Definition:
Blaze.h:58
blaze::RemoveCV
Removal of top level cv-qualifiers.The RemoveCV type trait removes all top level cv-qualifiers from t...
Definition:
RemoveCV.h:71
blaze::RemoveCV_t
typename RemoveCV< T >::Type RemoveCV_t
Auxiliary alias declaration for the RemoveCV type trait.The RemoveCV_t alias declaration provides a c...
Definition:
RemoveCV.h:97
Generated on Tue Feb 26 2019 18:47:56 by
1.8.14