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>
Dune namespace.
Definition: alignedallocator.hh:14
Compute type of the result of an arithmetic operation involving two different number types.
Definition: promotiontraits.hh:25
decltype(std::declval< T1 >()+std::declval< T2 >()) typedef PromotedType
Definition: promotiontraits.hh:26
T1 PromotedType
Definition: promotiontraits.hh:33