Blaze 3.9
blaze::IsSparseElement< T > Struct Template Reference

Compile time check whether the given type is a sparse element type. More...

#include <IsSparseElement.h>

Inherits blaze::IntegralConstant< T, N >.

Detailed Description

template<typename T>
struct blaze::IsSparseElement< T >

Compile time check whether the given type is a sparse element type.

This type trait class tests whether or not the given type Type is a Blaze sparse element type, i.e. if the type implements the sparse element concept by providing a value() and an index() member function. In order to qualify as a valid sparse element type, the given type has to derive (publicly or privately) from the SparseElement base class. In case the given type is a valid sparse element, the value member constant is set to true, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise value is set to false, Type is FalseType, and the class derives from FalseType.


The documentation for this struct was generated from the following file: