🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #16

Re: New/Constructor & Destructor/Delete Relationship

#16
From: Heeren Pathak
Date: Fri, 30 Oct 1992 18:32
13 lines
825 bytes
I reread my original posting and realized that I wasn't very clear so let
me try again...

I need to know if the language enforces the following:

Is the constructor called immediately after the new operator?

Is the delete operator called immediately after the destructor?


Heeren Pathak
pathak@mitre.org
Technical Details
Message-ID: <pathak-301092142826@maclab2-e.mitre.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!linus!linus.mitre.org!maclab2-e.mitre.org!user
References: <pathak-291092115943@maclab1-e.mitre.org>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c++
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!linus!linus.mitre.org!maclab2-e.mitre.org!user
From: pathak@mitre.org (Heeren Pathak)
Subject: Re: New/Constructor & Destructor/Delete Relationship
Message-ID: <pathak-301092142826@maclab2-e.mitre.org>
Followup-To: comp.std.c++
Sender: news@linus.mitre.org (News Service)
Nntp-Posting-Host: maclab2-e.mitre.org
Organization: MITRE Corp
References: <pathak-291092115943@maclab1-e.mitre.org>
Date: Fri, 30 Oct 1992 18:32:13 GMT
Lines: 13