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