Hi, Kurt Kuzba!
On 12 Jul 97 15:24:28 you wrote to Christian S. Pedersen
CS> If I "delete" a Class, allocated with "new", will the
CS> Class' destructor be called ?
KK> Yes. new calls the constructor, and delete calls the
KK> destructor.
At least it should. :) See bug list of your compiler. Just looked the
buglist of VC 4.0-4.2, quite much bugs related to new and delete. And they
didn't even found the bug I posted here some weaks ago.
Paul
... Be careful what you ask for - you may get it!
--- OS/2 Warp
---------------
* Origin: The FlintStones' Cave in BedRock (2:371/20)
|