Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
typetraits
HasCompositeType.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_MATH_TYPETRAITS_HASCOMPOSITETYPE_H_
36
#define _BLAZE_MATH_TYPETRAITS_HASCOMPOSITETYPE_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <
blaze/math/Aliases.h
>
44
#include <
blaze/util/typetraits/IsDetected.h
>
45
46
47
namespace
blaze {
48
49
//=================================================================================================
50
//
51
// CLASS DEFINITION
52
//
53
//=================================================================================================
54
55
//*************************************************************************************************
73
template
<
typename
T >
74
using
HasCompositeType
=
IsDetected< CompositeType_t, T >
;
75
//*************************************************************************************************
76
77
78
//*************************************************************************************************
91
template
<
typename
T >
92
constexpr
bool
HasCompositeType_v
=
HasCompositeType<T>::value
;
93
//*************************************************************************************************
94
95
}
// namespace blaze
96
97
#endif
Aliases.h
Header file for auxiliary alias declarations.
IsDetected.h
Header file for the IsDetected type trait.
blaze::HasCompositeType
IsDetected< CompositeType_t, T > HasCompositeType
Compile time check for a public nested type alias CompositeType.
Definition
HasCompositeType.h:74
blaze::HasCompositeType_v
constexpr bool HasCompositeType_v
Auxiliary variable template for the HasCompositeType type trait.
Definition
HasCompositeType.h:92
blaze::IsDetected
typename DetectedOr< NoneSuch, OP, Ts... >::Value_t IsDetected
Compile time detection of type properties.
Definition
IsDetected.h:151
Generated by
1.18.0