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

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: 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>;

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