DACE 2.0 API Manual
Differential Algebra Core Engine
Data Structures | Namespaces | Macros
PromotionTrait.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  DACE::PromotionTrait< T1, T2 >
 
class  DACE::PromotionTrait< T, T >
 

Namespaces

 DACE
 

Macros

#define ADD_PROMOTION(A, B, C)
 
#define ADD_PROMOTION_ALL(A, C)
 

Macro Definition Documentation

◆ ADD_PROMOTION

#define ADD_PROMOTION (   A,
  B,
 
)
Value:
template<> class PromotionTrait<A,B> { public: typedef C returnType; }; \
template<> class PromotionTrait<B,A> { public: typedef C returnType; };

◆ ADD_PROMOTION_ALL

#define ADD_PROMOTION_ALL (   A,
 
)
Value:
template<typename T> class PromotionTrait<A,T> { public: typedef C returnType; }; \
template<typename T> class PromotionTrait<T,A> { public: typedef C returnType; }; \
template<> class PromotionTrait<A,A> { public: typedef C returnType; };