E.V.E
v2023.02.15
 
Loading...
Searching...
No Matches
eve::underlying_type< Ts > Struct Template Reference

Computes the most scalar type associated with a type. More...

#include <eve/traits/underlying_type.hpp>

Detailed Description

template<typename Ts>
struct eve::underlying_type< Ts >

Retrieves the underlying type of one or more types, i.e the simplest type on which constraints and concept can be applied to.

By definition:

For user-defined type, one can either specialize eve::underlying_type or provide an internal typedef named underlying_type that will be picked up instead.

Required header: #include <eve/traits/underlying_type.hpp>

Template Parameters
TType to inspect

Helper type

template<typename... Ts>
using underlying_type_t = typename underlying_type<Ts...>::type;
Computes the most scalar type associated with a type.
Definition underlying_type.hpp:50