blaze::StorageOrder< T > Struct Template Reference

Evaluation of the storage order of a given matrix type.Via this type trait it is possible to evaluate the storage order of a given matrix type. In case the given type is a row-major matrix type the nested boolean value is set to rowMajor, in case it is a column-major matrix type it is set to columnMajor. If the given type is not a matrix type a compilation error is created. More...

#include <StorageOrder.h>

Inherits blaze::IntegralConstant< T, N >.

Detailed Description

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

Evaluation of the storage order of a given matrix type.

Via this type trait it is possible to evaluate the storage order of a given matrix type. In case the given type is a row-major matrix type the nested boolean value is set to rowMajor, in case it is a column-major matrix type it is set to columnMajor. If the given type is not a matrix type a compilation error is created.

blaze::StorageOrder<RowMajorMatrix>::value // Evaluates to blaze::rowMajor
blaze::StorageOrder<ColumnMajorMatrix>::value // Evaluates to blaze::columnMajor
blaze::StorageOrder<int>::value // Compilation error!

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