Topic: New/Delete vs. Constructors/Destructors


Author: s_johnson@csc32.enet.dec.com (Scott Johnson)
Date: 10 May 91 17:25:36 GMT
Raw View
Hi,

I have a question that has probably been asked before.  If it has can someone
forward me any information they have.

When creating and destroying objects, is it better to use the new/delete
operators or is it better to explicitly call the constructors/destructors
themselves?  Why is one method better than the other?

Thanks for any and all replies.


-------------------------------------------------------------------

        Scott Johnson
        Digital Equipment Corporation
        Colorado Springs, Co