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_
=
typename
Decay<T>::Type
;
99
//*************************************************************************************************
100
101
}
// namespace blaze
102
103
#endif
blaze::Decay_
typename Decay< T >::Type Decay_
Auxiliary alias declaration for the Decay type trait.The Decay_ alias declaration provides a convenie...
Definition:
Decay.h:98
blaze::Decay
Applies the type conversions for by-value function arguments.This type trait applies the type convers...
Definition:
Decay.h:72
blaze
Namespace of the Blaze C++ math library.
Definition:
Blaze.h:58
Generated on Sun Feb 11 2018 05:34:03 by
1.8.13