Blaze
3.9
blaze
util
typetraits
RemoveRValueReference.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_UTIL_TYPETRAITS_REMOVERVALUEREFERENCE_H_
36
#define _BLAZE_UTIL_TYPETRAITS_REMOVERVALUEREFERENCE_H_
37
38
39
namespace
blaze {
40
41
//=================================================================================================
42
//
43
// CLASS DEFINITION
44
//
45
//=================================================================================================
46
47
//*************************************************************************************************
63
template
<
typename
T >
64
struct
RemoveRValueReference
65
{
66
public
:
67
//**********************************************************************************************
69
using
Type = T;
71
//**********************************************************************************************
72
};
73
//*************************************************************************************************
74
75
76
//*************************************************************************************************
78
79
template
<
typename
T >
80
struct
RemoveRValueReference
< T&& >
81
{
82
public
:
83
//**********************************************************************************************
84
using
Type = T;
85
//**********************************************************************************************
86
};
88
//*************************************************************************************************
89
90
91
//*************************************************************************************************
104
template
<
typename
T >
105
using
RemoveRValueReference_t
=
typename
RemoveRValueReference<T>::Type
;
106
//*************************************************************************************************
107
108
}
// namespace blaze
109
110
#endif
blaze::RemoveRValueReference_t
typename RemoveRValueReference< T >::Type RemoveRValueReference_t
Auxiliary alias declaration for the RemoveRValueReference type trait.
Definition:
RemoveRValueReference.h:105
blaze::RemoveRValueReference
Removal of reference modifiers.
Definition:
RemoveRValueReference.h:65
Generated by
1.9.3