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

Evaluation of the underlying builtin element type of a given data type.This type trait evaluates the underlying fundamental element type at the heart of the given data type T. For this purpose either a nested ElementType or a nested value_type will be used. Examples: More...

#include <UnderlyingBuiltin.h>

Detailed Description

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

Evaluation of the underlying builtin element type of a given data type.

This type trait evaluates the underlying fundamental element type at the heart of the given data type T. For this purpose either a nested ElementType or a nested value_type will be used. Examples:

using Type1 = double; // Built-in data type
using Type2 = complex<float>; // Complex data type
using Type3 = std::vector<short>; // std::vector with built-in element type
using Type4 = StaticVector<int,3UL>; // Vector with built-in element type
using Type5 = CompressedVector< DynamicVector<float> >; // Vector with vector element type

Note that it is possible to add support for other data types that have an underlying fundamental element type but do neither provide a nested ElementType nor value_type type by specializing the UnderlyingBuiltin class template.


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