Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
util
typetraits
IsRValueReference.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_UTIL_TYPETRAITS_ISRVALUEREFERENCE_H_
36
#define _BLAZE_UTIL_TYPETRAITS_ISRVALUEREFERENCE_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <type_traits>
44
#include <
blaze/util/IntegralConstant.h
>
45
46
47
namespace
blaze {
48
49
//=================================================================================================
50
//
51
// CLASS DEFINITION
52
//
53
//=================================================================================================
54
55
//*************************************************************************************************
76
template
<
typename
T >
77
struct
IsRValueReference
78
:
public
BoolConstant
< std::is_rvalue_reference<T>::value >
79
{};
80
//*************************************************************************************************
81
82
83
//*************************************************************************************************
96
template
<
typename
T >
97
constexpr
bool
IsRValueReference_v
=
IsRValueReference<T>::value
;
98
//*************************************************************************************************
99
100
}
// namespace blaze
101
102
#endif
IntegralConstant.h
Header file for the IntegralConstant class template.
blaze::IsRValueReference_v
constexpr bool IsRValueReference_v
Auxiliary variable template for the IsRValueReference type trait.
Definition
IsRValueReference.h:97
blaze::BoolConstant
IntegralConstant< bool, B > BoolConstant
Generic wrapper for a compile time constant boolean value.
Definition
IntegralConstant.h:110
blaze::IsRValueReference
Compile time type check.
Definition
IsRValueReference.h:79
Generated by
1.18.0