-> One of my colleagues was using Visual C++ yesterday, poor chap, and it
-> wouldn't compile
-> struct Pair {
-> // ...
-> void * operator new[] ( size_t s ) { ... }
-> // ...
-> } ;
->
-> because it thought that he was attempting to declare an array of
unctions.
-> The same code compiles without a quibble on Borland C++ and Watcom C++.
I've only been working as a programmer/analyst for 7 months. No, I'm not
hat
young. I spent 15 years as a planetarium producer (sadly a dying
rofession).
When I can actually understand the significance of the above code, I'll know
I'm really a programmer. (-;
Ok, its a structure, and one member is a void pointer to an operator(!).
hat
does the ( size_t s ) represent? And can you tell me what such a thing would
be used for?
--- GEcho 1.20/Pro
1:261/3090)
---------------
* Origin: PerryHall BBS Baltimore, MD *-USA-* 14.4k 410.256.7314
|