Blaze  3.6
blaze::IsOpposedView< T > Struct Template Reference

Compile time check for resizable data types.This type trait tests whether the given data type is an opposed view, i.e. a view that is opposed to the natural storage order of its underlying type. In case the data type is an opposed view, 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. Examples: More...

#include <IsOpposedView.h>

Inherits blaze::IntegralConstant< T, N >.

Detailed Description

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

Compile time check for resizable data types.

This type trait tests whether the given data type is an opposed view, i.e. a view that is opposed to the natural storage order of its underlying type. In case the data type is an opposed view, 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. Examples:

using blaze::Column;
using blaze::Row;
using DenseColumnMajor = blaze::DynamicMatrix<int,columnMajor>;
blaze::IsOpposedView< Column<SparseRowMajor> >::Type // Results in TrueType
blaze::IsOpposedView< Row<SparseRowMajor> >::Type // Results in FalseType

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