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:
“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)
“The function of comedy is to dispel ... unconsciousness by turning the searchlight of the keenest moral and intellectual analysis right on to it.”
—George Bernard Shaw (18561950)
“The press and politicians. A delicate relationship. Too close, and danger ensues. Too far apart and democracy itself cannot function without the essential exchange of information. Creative leaks, a discreet lunch, interchange in the Lobby, the art of the unattributable telephone call, late at night.”
—Howard Brenton (b. 1942)