![]() |
Blaze
3.6
|
Evaluation of the element type of a given data type.This type trait evaluates the underlying element type of the given data type T. If the given type provides a nested type ElementType, this type is reported as underlying element type type via the nested type Type. Else if the type provides a nested value_type, this type is reported as underlying element type. Else the given type itself reported as the underlying element type. Examples: More...
#include <UnderlyingElement.h>
Evaluation of the element type of a given data type.
This type trait evaluates the underlying element type of the given data type T. If the given type provides a nested type ElementType, this type is reported as underlying element type type via the nested type Type. Else if the type provides a nested value_type, this type is reported as underlying element type. Else the given type itself reported as the underlying element type. Examples:
Note that it is possible to add support for other data types that have an underlying element type but do neither provide a nested ElementType nor value_type type by specializing the UnderlyingElement class template.