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

Compile time check for data types with restricted data access. More...

#include <IsRestricted.h>

Inherits blaze::IntegralConstant< T, N >.

Detailed Description

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

Compile time check for data types with restricted data access.

This type trait tests whether the given data type has a restricted data access. Examples are the LowerMatrix and UpperMatrix adaptors that don't allow write access to the elements in the upper or lower part of the matrix, respectively. In case the data type has a restricted data access, 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 VectorType = blaze::StaticVector<int,3UL>;
using MatrixType = blaze::DynamicMatrix<double>;
blaze::IsRestricted< volatile Lower > // Is derived from TrueType
blaze::IsRestricted< volatile MatrixType > // Is derived from FalseType
Efficient implementation of a dynamic matrix.
Definition: DynamicMatrix.h:242
Matrix adapter for lower triangular matrices.
Definition: BaseTemplate.h:558
Efficient implementation of a fixed-sized vector.
Definition: StaticVector.h:230
Compile time check for data types with restricted data access.
Definition: IsRestricted.h:83

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