Prattaratt
Technical User
I recently DL'd source code for Borland's ancient Turbo Vision framework. However, some of the source contains the line:
destroy (objptr);
The only documentation I've been able to come across on the destroy functoin was an obscure and not helpful reference in my MSVC6.0(Introductory Version) help files, which basically says that the destroy function will call the objptr's destructor??? I thought that happened when the object was deleted. Any clarification? Can I change those lines to read:
delete objptr;
without worry or is there more to the destroy function?
destroy (objptr);
The only documentation I've been able to come across on the destroy functoin was an obscure and not helpful reference in my MSVC6.0(Introductory Version) help files, which basically says that the destroy function will call the objptr's destructor??? I thought that happened when the object was deleted. Any clarification? Can I change those lines to read:
delete objptr;
without worry or is there more to the destroy function?