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

Compile time check for custom data types. More...

#include <IsCustom.h>

Inherits blaze::IntegralConstant< T, N >.

Detailed Description

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

Compile time check for custom data types.

This type trait tests whether the given data type is a custom data type, i.e. a custom vector or a custom matrix. In case the data type a custom data type, 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 CustomVectorType = CustomVector<int,aligned,unpadded,columnVector>;
using CustomMatrixType = CustomMatrix<double,aligned,unpadded,rowMajor>;
Efficient implementation of a customizable matrix.
Definition: CustomMatrix.h:423
Efficient implementation of a customizable vector.
Definition: CustomVector.h:407
Efficient implementation of a dynamic matrix.
Definition: DynamicMatrix.h:242
Efficient implementation of an arbitrary sized vector.
Definition: DynamicVector.h:223
@ unpadded
Flag for unpadded vectors and matrices.
Definition: PaddingFlag.h:78
@ aligned
Flag for aligned vectors and matrices.
Definition: AlignmentFlag.h:65
constexpr bool rowMajor
Storage order flag for row-major matrices.
Definition: StorageOrder.h:71
constexpr bool columnVector
Transpose flag for column vectors.
Definition: TransposeFlag.h:58
Compile time check for custom data types.
Definition: IsCustom.h:88

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