blaze::UnderlyingElement< T > Struct Template Reference

Evaluation of the element type of a given data type.Via this type trait it is possible to evaluate the element type of a given data type. Examples: More...

#include <UnderlyingElement.h>

Detailed Description

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

Evaluation of the element type of a given data type.

Via this type trait it is possible to evaluate the element type of a given data type. Examples:

typedef double Type1; // Built-in data type
typedef complex<float> Type2; // Complex data type
typedef StaticVector<int,3UL> Type3; // Vector with built-in element type
typedef CompressedMatrix< DynamicVector<float> > Type4; // Matrix with vector element type
blaze::UnderlyingElement< Type4 >::Type // corresponds to DynamicVector<float>

Note that per default UnderlyingElement only supports fundamental/built-in data types, complex, and data types with the nested type definition ElementType. Support for other data types can be added by specializing the UnderlyingElement class template.


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