
#include <Util/Promotions.H>
Basic promotion mechanism: given T1 and T2, TP provides the appropriate type to hold the result of an operation involving T1 and T2. Default is to promote to type T1, that is, no change (this is used when T2 is "weaker" than T1; when T2 is "stronger" that T1, the explicit specialized rules below are used).
Definition at line 67 of file Promotions.H.
Public Types | |
| typedef T1 | TP |
| enum | { willPromote = 0 } |
1.4.4