On (27 Aug 97) Paul Wankadia wrote to All...
PW> Can anyone tell me the names of the secret functions with any number
PW> of preceding underscores that get called when I create an object?
With what compiler? It's likely to vary widely with the specific
compiler you use.
PW> The only thing I've ever heard is something to do with
PW> '_____________builtin' and a bunch of gobblegobbleturkeygook after
PW> it. TIA.
Well, given code like this:
class x {
public:
x() {}
};
int main() {
x y;
return 0;
}
and compiling with MS VC++ 4.2b gives a ctor named `??0x@@QAE@XZ'.
Compiling the same code with BC++ 4.5, gives a ctor named:
`@@x@$bctr$qv'. Other compilers use different methods of mangling names
which will result in still different names for almost any function you
might decide to use...
Later,
Jerry.
... The Universe is a figment of its own imagination.
--- PPoint 1.90
---------------
* Origin: Point Pointedly Pointless (1:128/166.5)
|