35 #ifndef _BLAZE_MATH_TRAITS_DECLSYMTRAIT_H_ 36 #define _BLAZE_MATH_TRAITS_DECLSYMTRAIT_H_ 60 template<
typename >
struct DeclSymTrait;
61 template<
typename,
typename =
void >
struct DeclSymTraitEval;
68 template<
typename T >
69 auto evalDeclSymTrait( T& )
70 ->
typename DeclSymTraitEval<T>::Type;
72 template<
typename T >
73 auto evalDeclSymTrait(
const T& )
74 ->
typename DeclSymTrait<T>::Type;
76 template<
typename T >
77 auto evalDeclSymTrait(
const volatile T& )
78 ->
typename DeclSymTrait<T>::Type;
133 template<
typename MT >
139 using Type = decltype( evalDeclSymTrait( std::declval<MT&>() ) );
159 template<
typename MT >
169 template<
typename MT
171 struct DeclSymTraitEval
173 using Type = INVALID_TYPE;
184 template<
typename MT >
185 struct DeclSymTraitEval< MT
189 Size_v<MT,0UL> == Size_v<MT,1UL> ) > >
191 using Type = SymmetricMatrix<typename MT::ResultType>;
constexpr bool IsMatrix_v
Auxiliary variable template for the IsMatrix type trait.The IsMatrix_v variable template provides a c...
Definition: IsMatrix.h:138
Header file for the implementation of the base template of the SymmetricMatrix.
Header file for the IsMatrix type trait.
typename EnableIf< Condition, T >::Type EnableIf_t
Auxiliary type for the EnableIf class template.The EnableIf_t alias declaration provides a convenient...
Definition: EnableIf.h:138
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Base template for the DeclSymTrait class.
Definition: DeclSymTrait.h:134
Utility type for generic codes.
typename DeclSymTrait< MT >::Type DeclSymTrait_t
Auxiliary alias declaration for the DeclSymTrait type trait.The DeclSymTrait_t alias declaration prov...
Definition: DeclSymTrait.h:160
constexpr ptrdiff_t DefaultSize_v
Default size of the Size type trait.
Definition: Size.h:72
Header file for the Size type trait.