dune-common 2.9.0
|
Compute type of the result of an arithmetic operation involving two different number types. More...
#include <dune/common/promotiontraits.hh>
Public Types | |
typedef decltype(std::declval< T1 >()+std::declval< T2 >()) | PromotedType |
Compute type of the result of an arithmetic operation involving two different number types.
typedef decltype(std::declval<T1>()+std::declval<T2>()) Dune::PromotionTraits< T1, T2 >::PromotedType |