cml::et::detail::promote_trait< T1_orig, T2_orig > Struct Template Reference

#include <scalar_promotions.h>

List of all members.

Public Types

enum  {
  T1IsBetter, knowBothRanks, knowT1butNotT2, knowT2butNotT1,
  T1IsLarger = sizeof(T1) >= sizeof(T2), defaultPromotion
}
enum  { promoteToT1 }
typedef autopromote_trait
< T1_orig >::T_numtype 
T1
typedef autopromote_trait
< T2_orig >::T_numtype 
T2
typedef promote2< T1, T2,
promoteToT1 >::T_promote 
T_promote


Detailed Description

template<class T1_orig, class T2_orig>
struct cml::et::detail::promote_trait< T1_orig, T2_orig >

Definition at line 89 of file scalar_promotions.h.


Member Typedef Documentation

template<class T1_orig, class T2_orig>
typedef autopromote_trait<T1_orig>::T_numtype cml::et::detail::promote_trait< T1_orig, T2_orig >::T1

Definition at line 91 of file scalar_promotions.h.

template<class T1_orig, class T2_orig>
typedef autopromote_trait<T2_orig>::T_numtype cml::et::detail::promote_trait< T1_orig, T2_orig >::T2

Definition at line 92 of file scalar_promotions.h.

template<class T1_orig, class T2_orig>
typedef promote2<T1,T2,promoteToT1>::T_promote cml::et::detail::promote_trait< T1_orig, T2_orig >::T_promote

Definition at line 132 of file scalar_promotions.h.


Member Enumeration Documentation

template<class T1_orig, class T2_orig>
anonymous enum

Enumerator:
T1IsBetter 
knowBothRanks 
knowT1butNotT2 
knowT2butNotT1 
T1IsLarger 
defaultPromotion 

Definition at line 95 of file scalar_promotions.h.

template<class T1_orig, class T2_orig>
anonymous enum

Enumerator:
promoteToT1 

Definition at line 127 of file scalar_promotions.h.


The documentation for this struct was generated from the following file:

Generated on Sat Jul 18 19:35:39 2009 for CML 1.0 by  doxygen 1.5.9