Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
typetraits
IsTransformation.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_MATH_TYPETRAITS_ISTRANSFORMATION_H_
36
#define _BLAZE_MATH_TYPETRAITS_ISTRANSFORMATION_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <
blaze/math/expressions/Transformation.h
>
44
#include <
blaze/util/IntegralConstant.h
>
45
#include <
blaze/util/typetraits/IsBaseOf.h
>
46
47
48
namespace
blaze {
49
50
//=================================================================================================
51
//
52
// CLASS DEFINITION
53
//
54
//=================================================================================================
55
56
//*************************************************************************************************
68
template
<
typename
T >
69
struct
IsTransformation
70
:
public
BoolConstant
< IsBaseOf_v<Transformation,T> && !IsBaseOf_v<T,Transformation> >
71
{};
72
//*************************************************************************************************
73
74
75
//*************************************************************************************************
88
template
<
typename
T >
89
constexpr
bool
IsTransformation_v
=
IsTransformation<T>::value
;
90
//*************************************************************************************************
91
92
}
// namespace blaze
93
94
#endif
IntegralConstant.h
Header file for the IntegralConstant class template.
IsBaseOf.h
Header file for the IsBaseOf type trait.
Transformation.h
Header file for the Transformation base class.
blaze::IsTransformation_v
constexpr bool IsTransformation_v
Auxiliary variable template for the IsTransformation type trait.
Definition
IsTransformation.h:89
blaze::BoolConstant
IntegralConstant< bool, B > BoolConstant
Generic wrapper for a compile time constant boolean value.
Definition
IntegralConstant.h:110
blaze::IsTransformation
Compile time check whether the given type is a transformation expression template.
Definition
IsTransformation.h:71
Generated by
1.18.0