blaze::IsRow< T > Struct Template Reference

Compile time check for rows.This type trait tests whether or not the given template parameter is a row (i.e. dense or sparse row). In case the type is a row, 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. More...

#include <IsRow.h>

Inherits blaze::IntegralConstant< T, N >.

Detailed Description

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

Compile time check for rows.

This type trait tests whether or not the given template parameter is a row (i.e. dense or sparse row). In case the type is a row, 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.

typedef blaze::Row<DenseMatrixType1> DenseRowType1;
typedef blaze::Row<DenseMatrixType2> DenseRowType2;
typedef blaze::Row<SparseMatrixType> SparseRowType;
blaze::IsRow< volatile DenseRowType2 > // Is derived from TrueType
blaze::IsRow< volatile long double > // Is derived from FalseType

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