BWAPI
Classes | Defines
SPAR/AIModule/BWTA/vendors/CGAL/CGAL/CORE/Promote.h File Reference
#include <CGAL/CORE/Impl.h>
Include dependency graph for Promote.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hasExactDivision< NT >
struct  hasExactDivision< Expr >
struct  hasExactDivision< BigRat >
class  Promotion< T, T >

Defines

#define MAX_TYPE(T1, T2)   typename Promotion<T1, T2>::ResultT
#define DEFINE_MAX_TYPE(T1, T2, Tr)

Define Documentation

#define DEFINE_MAX_TYPE (   T1,
  T2,
  Tr 
)
Value:
template<> class Promotion<T1, T2> {    \
    public:                             \
      typedef Tr ResultT;               \
  };                                    \
  template<> class Promotion<T2, T1> {  \
    public:                             \
      typedef Tr ResultT;               \
  };
#define MAX_TYPE (   T1,
  T2 
)    typename Promotion<T1, T2>::ResultT
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines