3 #ifndef DUNE_PROMOTIONTRAITS_HH
4 #define DUNE_PROMOTIONTRAITS_HH
23 template <
typename T1,
typename T2>
26 typedef decltype(std::declval<T1>()+std::declval<T2>())
PromotedType;
32 template <typename T1>
39 #endif // DUNE_PROMOTIONTRAITS_HH
Compute type of the result of an arithmetic operation involving two different number types...
Definition: promotiontraits.hh:24
T1 PromotedType
Definition: promotiontraits.hh:33
decltype(std::declval< T1 >()+std::declval< T2 >()) typedef PromotedType
Definition: promotiontraits.hh:26