Blaze
3.9
blaze
util
typetraits
Decay.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_UTIL_TYPETRAITS_DECAY_H_
36
#define _BLAZE_UTIL_TYPETRAITS_DECAY_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
//*************************************************************************************************
71
template
<
typename
T >
72
struct
Decay
73
{
74
public
:
75
//**********************************************************************************************
77
using
Type =
typename
std::decay<T>::type;
79
//**********************************************************************************************
80
};
81
//*************************************************************************************************
82
83
84
//*************************************************************************************************
97
template
<
typename
T >
98
using
Decay_t
=
typename
Decay<T>::Type
;
99
//*************************************************************************************************
100
101
}
// namespace blaze
102
103
#endif
blaze::Decay_t
typename Decay< T >::Type Decay_t
Auxiliary alias declaration for the Decay type trait.
Definition:
Decay.h:98
blaze::Decay
Applies the type conversions for by-value function arguments.
Definition:
Decay.h:73
Generated by
1.9.3