5 #ifndef DUNE_PROMOTIONTRAITS_HH
6 #define DUNE_PROMOTIONTRAITS_HH
25 template <
typename T1,
typename T2>
28 typedef decltype(std::declval<T1>()+std::declval<T2>())
PromotedType;
34 template <typename T1>
Dune namespace.
Definition: alignedallocator.hh:13
Compute type of the result of an arithmetic operation involving two different number types.
Definition: promotiontraits.hh:27
decltype(std::declval< T1 >()+std::declval< T2 >()) typedef PromotedType
Definition: promotiontraits.hh:28
T1 PromotedType
Definition: promotiontraits.hh:35