blaze::IsContiguous< T > Struct Template Reference

Compile time check for the memory layout of data types.This type trait tests whether the given data type is array-like and all its elements lie contiguous in memory. In case the data type has contiguous elements, 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 <IsContiguous.h>

Inherits blaze::IntegralConstant< T, N >.

Detailed Description

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

Compile time check for the memory layout of data types.

This type trait tests whether the given data type is array-like and all its elements lie contiguous in memory. In case the data type has contiguous elements, 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 RowMajorMatrix = DynamicMatrix<double,rowMajor>;
using ColumnMajorMatrix = DynamicMatrix<double,columnMajor>;
blaze::IsContiguous< volatile RowType1 > // Is derived from TrueType

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