Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

 Teuchos
 

Macros

#define PT_SPEC(type1, type2, type3)
 

Macro Definition Documentation

#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 29 of file Teuchos_PromotionTraits.hpp.