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