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>
41 #endif // DUNE_PROMOTIONTRAITS_HH decltype(std::declval< T1 >()+std::declval< T2 >()) typedef PromotedType
Definition: promotiontraits.hh:28
Compute type of the result of an arithmetic operation involving two different number types...
Definition: promotiontraits.hh:26
T1 PromotedType
Definition: promotiontraits.hh:35
Dune namespace
Definition: alignedallocator.hh:12