Public Types | List of all members
ecvl::larger_arithmetic_type< T, U > Struct Template Reference

#include <type_promotion.h>

Public Types

using type = typename std::conditional_t<(std::numeric_limits< T >::digits< std::numeric_limits< U >::digits), U, T >
 

Detailed Description

template<typename T, typename U>
struct ecvl::larger_arithmetic_type< T, U >

Definition at line 25 of file type_promotion.h.

Member Typedef Documentation

◆ type

template<typename T, typename U>
using ecvl::larger_arithmetic_type< T, U >::type = typename std::conditional_t<(std::numeric_limits<T>::digits < std::numeric_limits<U>::digits), U, T>

Definition at line 28 of file type_promotion.h.


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