All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
blaze::BaseElementType< T > Struct Template Reference

Evaluation of the base element type of a given data type.Via this type trait it is possible to evaluate the base (fundamental) element type at the heart of a given data type. Examples: More...

#include <BaseElementType.h>

Detailed Description

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

Evaluation of the base element type of a given data type.

Via this type trait it is possible to evaluate the base (fundamental) element type at the heart 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 CompressedVector< DynamicVector<float> > Type4; // Vector with vector element type
blaze::BaseElementType< Type1 >::Type // corresponds to double

Note that per default BaseElementType 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 BaseElementType class template.


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