Template Numerical Library: TNL::GetValueType< T > Struct Template Reference

Template Numerical Library version\ main:16b9213d5

Loading...
Searching...
No Matches
Public Types | List of all members
TNL::GetValueType< T > Struct Template Reference

Get the underlying value type of T. More...

`#include <TNL/TypeTraits.h>`

## Public Types
using | type = typename impl< T >::type

## Detailed Description

template<typename T>
struct TNL::GetValueType< T >

Get the underlying value type of T.

This recursively descends into the ValueType or value_type local type aliases and returns the underlying value type. For example, if a vector type such as

TNL::Containers::StaticVector< 1, TNL::Arithmetics::Complex< double > >
TNL::Containers::StaticVector
Vector with constant size.
Definition StaticVector.h:19

is given as T, this will return double.

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

- src/TNL/TypeTraits.h