Blaze 3.9
IsSparseElement.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_MATH_TYPETRAITS_ISSPARSEELEMENT_H_
36#define _BLAZE_MATH_TYPETRAITS_ISSPARSEELEMENT_H_
37
38
39//*************************************************************************************************
40// Includes
41//*************************************************************************************************
42
46
47
48namespace blaze {
49
50//=================================================================================================
51//
52// CLASS DEFINITION
53//
54//=================================================================================================
55
56//*************************************************************************************************
68template< typename T >
70 : public BoolConstant< IsBaseOf_v<SparseElement,T> && !IsBaseOf_v<T,SparseElement> >
71{};
72//*************************************************************************************************
73
74
75//*************************************************************************************************
88template< typename T >
90//*************************************************************************************************
91
92} // namespace blaze
93
94#endif
Header file for the IntegralConstant class template.
Header file for the IsBaseOf type trait.
constexpr bool IsSparseElement_v
Auxiliary variable template for the IsSparseElement type trait.
Definition: IsSparseElement.h:89
Header file for the SparseElement base class.
Generic wrapper for a compile time constant integral value.
Definition: IntegralConstant.h:74
Compile time check whether the given type is a sparse element type.
Definition: IsSparseElement.h:71