![]() |
PUMA Library Reference Manual
|
#include <CCConversions.h>
Public Member Functions | |
CCConversions (ErrorSink &) | |
CCConvSeq * | implicitConversions (CTypeInfo *, CTypeInfo *, CTree *, CTree *, bool=true) |
CCConvSeq * | standardConversions (CTypeInfo *, CTypeInfo *, CTree *, CTree *) |
CCConvSeq * | userDefinedConversions (CTypeInfo *, CTypeInfo *, CTree *, CTree *) |
CCConvSeq * | referenceBinding (CTypeInfo *, CTypeInfo *, CTree *, CTree *, bool=true) |
CCConvSeq * | ellipsisConversions () |
Static Public Member Functions | |
static CTypeInfo * | integralPromotion (CTypeInfo *) |
static CTypeInfo * | arithmeticPromotion (CTypeInfo *) |
static CTypeInfo * | usualArithmeticConv (CTypeInfo *, CTypeInfo *) |
static int | compareConvSeq (CCConvSeq *, CCConvSeq *) |
static bool | similarTypes (CTypeInfo *, CTypeInfo *) |
static bool | referenceCompatible (CTypeInfo *, CTypeInfo *) |
static bool | referenceRelated (CTypeInfo *, CTypeInfo *) |
static bool | equalOrMoreQualified (CTypeInfo *, CTypeInfo *) |
Protected Member Functions | |
bool | isValidConversion (CTree *, CTypeInfo *, CTypeInfo *, CCOverloading &) const |
Static Protected Member Functions | |
static int | compareSameRankConvSeq (CCConvSeq *, CCConvSeq *) |
static unsigned | convSequenceRank (CCConvSeq *) |
static bool | properSubsequence (CCConvSeq *, CCConvSeq *) |
static bool | baseClass (CTypeInfo *, CTypeInfo *) |
static bool | baseClass (CClassInfo *, CClassInfo *) |
static CClassInfo * | extractClass (CTypeInfo *, bool) |
|
inline |
|
staticprotected |
|
staticprotected |
|
staticprotected |
CCConvSeq* Puma::CCConversions::ellipsisConversions | ( | ) |
|
staticprotected |
CCConvSeq* Puma::CCConversions::implicitConversions | ( | CTypeInfo * | , |
CTypeInfo * | , | ||
CTree * | , | ||
CTree * | , | ||
bool | = true |
||
) |
|
protected |
CCConvSeq* Puma::CCConversions::referenceBinding | ( | CTypeInfo * | , |
CTypeInfo * | , | ||
CTree * | , | ||
CTree * | , | ||
bool | = true |
||
) |
CCConvSeq* Puma::CCConversions::standardConversions | ( | CTypeInfo * | , |
CTypeInfo * | , | ||
CTree * | , | ||
CTree * | |||
) |
CCConvSeq* Puma::CCConversions::userDefinedConversions | ( | CTypeInfo * | , |
CTypeInfo * | , | ||
CTree * | , | ||
CTree * | |||
) |