Blaze
3.9
blaze
util
typetraits
AddCV.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_UTIL_TYPETRAITS_ADDCV_H_
36
#define _BLAZE_UTIL_TYPETRAITS_ADDCV_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
AddCV
71
{
72
public
:
73
//**********************************************************************************************
75
using
Type =
typename
std::add_cv<T>::type;
77
//**********************************************************************************************
78
};
79
//*************************************************************************************************
80
81
82
//*************************************************************************************************
95
template
<
typename
T >
96
using
AddCV_t
=
typename
AddCV<T>::Type
;
97
//*************************************************************************************************
98
99
}
// namespace blaze
100
101
#endif
blaze::AddCV_t
typename AddCV< T >::Type AddCV_t
Auxiliary alias declaration for the AddCV type trait.
Definition:
AddCV.h:96
blaze::AddCV
Addition of a top level 'const' and 'volatile' qualifier.
Definition:
AddCV.h:71
Generated by
1.9.3