DGtal  1.5.beta
DGtal::ArithmeticConversionTraits< T, U, typename std::enable_if< std::is_arithmetic< T >::value &&std::is_arithmetic< U >::value >::type > Struct Template Reference

Specialization for (fundamental) arithmetic types. More...

#include <DGtal/kernel/ArithmeticConversionTraits.h>

Public Types

using type = typename std::common_type< T, U >::type
 

Detailed Description

template<typename T, typename U>
struct DGtal::ArithmeticConversionTraits< T, U, typename std::enable_if< std::is_arithmetic< T >::value &&std::is_arithmetic< U >::value >::type >

Specialization for (fundamental) arithmetic types.

Resulting type is deduced from usual arithmetic conversion using std::common_type.

See also
ArithmeticConversionTraits

Definition at line 120 of file ArithmeticConversionTraits.h.

Member Typedef Documentation

◆ type

template<typename T , typename U >
using DGtal::ArithmeticConversionTraits< T, U, typename std::enable_if< std::is_arithmetic< T >::value &&std::is_arithmetic< U >::value >::type >::type = typename std::common_type<T, U>::type

Definition at line 124 of file ArithmeticConversionTraits.h.


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