Dune::PromotionTraits< T1, T2 > Struct Template Reference
[Common]

Compute type of the result of an arithmetic operation involving two different number types. More...

#include <dune/common/promotiontraits.hh>

List of all members.

Public Member Functions

typedef decltype (std::declval< T1 >()+std::declval< T2 >()) PromotedType

Detailed Description

template<typename T1, typename T2>
struct Dune::PromotionTraits< T1, T2 >

Compute type of the result of an arithmetic operation involving two different number types.


Member Function Documentation

template<typename T1 , typename T2 >
typedef Dune::PromotionTraits< T1, T2 >::decltype ( std::declval< T1 >  )+std::declval< T2 >(  ) 

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 25 Mar 2018 for dune-common by  doxygen 1.6.1