35 #ifndef _BLAZE_MATH_TYPETRAITS_ISSPARSEVECTOR_H_ 36 #define _BLAZE_MATH_TYPETRAITS_ISSPARSEVECTOR_H_ 61 template<
typename T >
62 struct IsSparseVectorHelper
68 template<
typename VT,
bool TF >
69 static TrueType test(
const SparseVector<VT,TF>* );
71 template<
typename VT,
bool TF >
72 static TrueType test(
const volatile SparseVector<VT,TF>* );
79 using Type = decltype( test( create() ) );
105 template<
typename T >
107 :
public IsSparseVectorHelper<T>::Type
117 template<
typename T >
138 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: FalseType.h:61
Header file for the SparseVector base class.
Header file for the FalseType type/value trait base class.
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:71
BoolConstant< true > TrueType
Type traits base class.The TrueType class is used as base class for type traits and value traits that...
Definition: TrueType.h:61
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:106
constexpr bool IsSparseVector_v
Auxiliary variable template for the IsSparseVector type trait.The IsSparseVector_v variable template ...
Definition: IsSparseVector.h:139
Header file for the TrueType type/value trait base class.