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:
“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)
“It is not the function of our Government to keep the citizen from falling into error; it is the function of the citizen to keep the Government from falling into error.”
—Robert H. [Houghwout] Jackson (18921954)
“Every boy was supposed to come into the world equipped with a father whose prime function was to be our father and show us how to be men. He can escape us, but we can never escape him. Present or absent, dead or alive, real or imagined, our father is the main man in our masculinity.”
—Frank Pittman (20th century)