Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Classes | Namespaces | Defines
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

Defines

#define PT_SPEC(type1, type2, type3)

Define 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 48 of file Teuchos_PromotionTraits.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines