Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Classes | Namespaces | Macros
Teuchos_PromotionTraits.hpp File Reference
#include "Teuchos_ConfigDefs.hpp"
Include dependency graph for Teuchos_PromotionTraits.hpp:

Go to the source code of this file.

Classes

class  Teuchos::PromotionTraits< A, B >
 
class  Teuchos::PromotionTraits< T, T >
 

Namespaces

namespace  Teuchos
 

Macros

#define PT_SPEC(type1, type2, type3)
 

Macro Definition Documentation

◆ PT_SPEC

#define PT_SPEC ( type1,
type2,
type3 )
Value:
template <> class PromotionTraits< type1 , type2 > { \
public: \
typedef type3 promote; \
}; \
template <> class PromotionTraits< type2 , type1 > { \
public: \
typedef type3 promote; \
};

Definition at line 61 of file Teuchos_PromotionTraits.hpp.