35#ifndef _BLAZE_MATH_TRAITS_DECLIDTRAIT_H_
36#define _BLAZE_MATH_TRAITS_DECLIDTRAIT_H_
61template<
typename >
struct DeclIdTrait;
62template<
typename,
typename =
void >
struct DeclIdTraitEval;
70auto evalDeclIdTrait(
const volatile T& ) -> DeclIdTraitEval<T>;
124template<
typename MT >
126 :
public decltype( evalDeclIdTrait( std::declval<MT&>() ) )
144template<
typename MT >
156struct DeclIdTraitEval
167template<
typename MT >
168struct DeclIdTraitEval< MT
172 Size_v<MT,0UL> == Size_v<MT,1UL> ) > >
174 using Type = IdentityMatrix< typename MT::ElementType, StorageOrder_v<MT> >;
Header file for the EnableIf class template.
Header file for the IsMatrix type trait.
typename DeclIdTrait< MT >::Type DeclIdTrait_t
Auxiliary alias declaration for the DeclIdTrait type trait.
Definition: DeclIdTrait.h:145
constexpr ptrdiff_t DefaultSize_v
Default size of the Size type trait.
Definition: Size.h:72
constexpr bool IsMatrix_v
Auxiliary variable template for the IsMatrix type trait.
Definition: IsMatrix.h:124
typename EnableIf< Condition, T >::Type EnableIf_t
Auxiliary type for the EnableIf class template.
Definition: EnableIf.h:138
Header file for all forward declarations for sparse vectors and matrices.
Header file for the Size type trait.
Header file for the StorageOrder type trait.
Base template for the DeclIdTrait class.
Definition: DeclIdTrait.h:127