From: Maciej Sobczak <no.spam@no.spam.com>
Subject: Re: Deallocating list of polymorphic objects?
Date: Fri, 01 Dec 2006 14:05:17 +0100
Date: 2006-12-01T14:05:17+01:00 [thread overview]
Message-ID: <ekp9ad$8b0$1@cernne03.cern.ch> (raw)
In-Reply-To: <uwt5baj8j.fsf@earthlink.net>
Matthew Heaney wrote:
> Maciej Sobczak <no.spam@no.spam.com> writes:
>
>> Can it be called more than once?
>
> Yes. When you write Finalize you must write it in such as way as to ensure
> that it can be safely called a second time.
Could you please throw some paragraph numbers from AARM that are
relevant to this? I would like to take a closer look at this subject.
The assertion that Finalize has to be safe w.r.t. multiple calls is a
very important one and I don't seem to remember it being mentioned
anywhere (including The book).
--
Maciej Sobczak : http://www.msobczak.com/
Programming : http://www.msobczak.com/prog/
next prev parent reply other threads:[~2006-12-01 13:05 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-30 23:40 Deallocating list of polymorphic objects? Michael Rohan
2006-12-01 0:05 ` Robert A Duff
2006-12-01 6:41 ` Simon Wright
2006-12-01 1:24 ` Randy Brukardt
2006-12-01 8:57 ` Maciej Sobczak
2006-12-01 12:33 ` Matthew Heaney
2006-12-01 13:05 ` Maciej Sobczak [this message]
2006-12-01 14:56 ` Matthew Heaney
2006-12-01 19:03 ` Georg Bauhaus
2006-12-01 3:52 ` Matthew Heaney
2006-12-01 4:11 ` Matthew Heaney
2006-12-01 6:12 ` Michael Rohan
2006-12-01 12:40 ` Matthew Heaney
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox