Blaze 3.9
Loading...
Searching...
No Matches
IsReference.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_UTIL_TYPETRAITS_ISREFERENCE_H_
36#define _BLAZE_UTIL_TYPETRAITS_ISREFERENCE_H_
37
38
39//*************************************************************************************************
40// Includes
41//*************************************************************************************************
42
43#include <type_traits>
45
46
47namespace blaze {
48
49//=================================================================================================
50//
51// CLASS DEFINITION
52//
53//=================================================================================================
54
55//*************************************************************************************************
74template< typename T >
76 : public BoolConstant< std::is_reference<T>::value >
77{};
78//*************************************************************************************************
79
80
81//*************************************************************************************************
94template< typename T >
96//*************************************************************************************************
97
98} // namespace blaze
99
100#endif
Header file for the IntegralConstant class template.
constexpr bool IsReference_v
Auxiliary variable template for the IsReference type trait.
Definition IsReference.h:95
IntegralConstant< bool, B > BoolConstant
Generic wrapper for a compile time constant boolean value.
Definition IntegralConstant.h:110
Compile time type check.
Definition IsReference.h:77