* Finalization question
@ 1997-09-22 0:00 Tom Moran
1997-09-23 0:00 ` Tucker Taft
0 siblings, 1 reply; 2+ messages in thread
From: Tom Moran @ 1997-09-22 0:00 UTC (permalink / raw)
2 of 3 tested compilers do not call Finalize if Initialize did not
complete normally. That's the way I'm inclined to read RM 7.6(4), but
the wording could be interpreted otherwise. What's correct?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Finalization question
1997-09-22 0:00 Finalization question Tom Moran
@ 1997-09-23 0:00 ` Tucker Taft
0 siblings, 0 replies; 2+ messages in thread
From: Tucker Taft @ 1997-09-23 0:00 UTC (permalink / raw)
Tom Moran (tmoran@bix.com) wrote:
: 2 of 3 tested compilers do not call Finalize if Initialize did not
: complete normally. That's the way I'm inclined to read RM 7.6(4), but
: the wording could be interpreted otherwise. What's correct?
Finalize should only be called if Initialize (or an initial Adjust)
completes normally.
However, when there are multiple controlled subcomponents of a single
object, there is a running debate about how precisely should this rule
be enforced. If not enforced precisely, is it better to have extra
unAdjusted Finalizes, or extra unFinalized Adjusts?
Ideally, only those objects (including subcomponents) that successfully
Initialize/Adjust are subjected to finalization.
--
-Tucker Taft stt@inmet.com http://www.inmet.com/~stt/
Intermetrics, Inc. Burlington, MA USA
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-09-23 0:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-22 0:00 Finalization question Tom Moran
1997-09-23 0:00 ` Tucker Taft
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox