Function
Typical type information in a function name looks like this:
- Optional: Prefix
_
(means __based property is used) - Access level and function type
- Conditional: __based property, if used
- Conditional: adjustor property (as encoded unsigned number), if thunk function
- Conditional: CV-class modifier of function, if non-static member function
- Function property
The table below shows codes for access level and function type:
none | static | virtual | thunk | |
---|---|---|---|---|
private: | A , B |
C , D |
E , F |
G , H |
protected: | I , J |
K , L |
M , N |
O , P |
public: | Q , R |
S , T |
U , V |
W , X |
none | Y , Z |
This kind of thunk function is always virtual, and used to represent the logical this
adjustor property, which means an offset to the true this
value in some multiple inheritance situations.
Read more about this topic: Microsoft Visual C++ Name Mangling
Famous quotes containing the word function:
“Advocating the mere tolerance of difference between women is the grossest reformism. It is a total denial of the creative function of difference in our lives. Difference must be not merely tolerated, but seen as a fund of necessary polarities between which our creativity can spark like a dialectic.”
—Audre Lorde (19341992)
“It is the function of vice to keep virtue within reasonable bounds.”
—Samuel Butler (18351902)
“Of all the inhabitants of the inferno, none but Lucifer knows that hell is hell, and the secret function of purgatory is to make of heaven an effective reality.”
—Arnold Bennett (18671931)