Template Numerical Library: TNL::Config::ParameterTypeCoercion< T > Struct Template Reference

Template Numerical Library version\ main:be7e16d88

Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
TNL::Config::ParameterTypeCoercion< T > Struct Template Reference

## Public Types
using | type

## Static Public Member Functions
static type | convert (const T &v)
template<typename Result>
static Result | convert_back (const type &v)

## Member Typedef Documentation

## ◆ type

template<typename T>

using TNL::Config::ParameterTypeCoercion< T >::type

Initial value:
std::conditional_t<
std::is_same_v< T, bool >,
bool,
std::conditional_t<
std::is_integral_v< T > && std::is_signed_v< T >,
Integer,
std::conditional_t<
std::is_integral_v< T > && std::is_unsigned_v< T >,
UnsignedInteger,
std::conditional_t<
std::is_floating_point_v< T >,
double,
std::conditional_t<
std::is_base_of_v< std::string, T >,
std::string,
std::conditional_t< std::is_same_v< std::decay_t< T >, const char* >, std::string, T > > > > > >
std::string

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

- src/TNL/Config/ConfigEntryType.h