dune-common  2.5.0
Public Attributes | List of all members
Dune::PromotionTraits< T1, T2 > Struct Template Reference

Compute type of the result of an arithmetic operation involving two different number types. More...

#include <dune/common/promotiontraits.hh>

Public Attributes

decltype(std::declval< T1 >()+std::declval< T2 >()) typedef PromotedType
 

Detailed Description

template<typename T1, typename T2>
struct Dune::PromotionTraits< T1, T2 >

Compute type of the result of an arithmetic operation involving two different number types.

Member Data Documentation

§ PromotedType

template<typename T1 , typename T2 >
decltype(std::declval<T1>()+std::declval<T2>()) typedef Dune::PromotionTraits< T1, T2 >::PromotedType

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