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

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

#include <IsResizable.h>

Inherits blaze::IntegralConstant< T, N >.

Detailed Description

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

Compile time check for resizable data types.

This type trait tests whether the given data type is a resizable data type. In case the data type can be resized (via the resize() function), 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:

blaze::IsResizable< CompressedVector<double> >::Type // Results in TrueType
blaze::IsResizable< ZeroMatrix<int> > // Is derived from TrueType
blaze::IsResizable< StaticVector<float,3UL> >::Type // Results in FalseType
blaze::IsResizable< const DynamicVector<float> > // Is derived from FalseType
Compile time check for resizable data types.
Definition: IsResizable.h:105

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