35 #ifndef _BLAZE_MATH_TYPETRAITS_ISSPARSEVECTOR_H_ 36 #define _BLAZE_MATH_TYPETRAITS_ISSPARSEVECTOR_H_ 60 template<
typename T >
61 struct IsSparseVectorHelper
67 template<
typename VT,
bool TF >
68 static TrueType test(
const SparseVector<VT,TF>* );
70 template<
typename VT,
bool TF >
71 static TrueType test(
const volatile SparseVector<VT,TF>* );
78 using Type = decltype( test( create() ) );
104 template<
typename T >
106 :
public IsSparseVectorHelper<T>::Type
116 template<
typename T >
137 template<
typename T >
BoolConstant< false > FalseType
Type/value traits base class.The FalseType class is used as base class for type traits and value trai...
Definition: IntegralConstant.h:121
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:72
BoolConstant< true > TrueType
Type traits base class.The TrueType class is used as base class for type traits and value traits that...
Definition: IntegralConstant.h:132
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Compile time check for sparse vector types.This type trait tests whether or not the given template pa...
Definition: IsSparseVector.h:105
Header file for all forward declarations for expression class templates.
Header file for the IntegralConstant class template.
constexpr bool IsSparseVector_v
Auxiliary variable template for the IsSparseVector type trait.The IsSparseVector_v variable template ...
Definition: IsSparseVector.h:138