Blaze 3.9
IsStatic.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_MATH_TYPETRAITS_ISSTATIC_H_
36#define _BLAZE_MATH_TYPETRAITS_ISSTATIC_H_
37
38
39//*************************************************************************************************
40// Includes
41//*************************************************************************************************
42
47
48
49namespace blaze {
50
51//=================================================================================================
52//
53// CLASS DEFINITION
54//
55//=================================================================================================
56
57//*************************************************************************************************
86template< typename T >
88 : public BoolConstant< ( IsVector_v<T> && Size_v<T,0UL> != DefaultSize_v ) ||
89 ( IsMatrix_v<T> && Size_v<T,0UL> != DefaultSize_v &&
90 Size_v<T,1UL> != DefaultSize_v ) >
91{};
92//*************************************************************************************************
93
94
95//*************************************************************************************************
108template< typename T >
110//*************************************************************************************************
111
112} // namespace blaze
113
114#endif
Header file for the IntegralConstant class template.
Header file for the IsMatrix type trait.
Header file for the IsVector type trait.
constexpr bool IsStatic_v
Auxiliary variable template for the IsStatic type trait.
Definition: IsStatic.h:109
Header file for the Size type trait.
Generic wrapper for a compile time constant integral value.
Definition: IntegralConstant.h:74
Compile time check for static data types.
Definition: IsStatic.h:91