comp.lang.ada
 help / color / mirror / Atom feed
From: mcsun!sunic!lth.se!newsuser@uunet.uu.net  (Dag Bruck)
Subject: Re: User-defined assignment
Date: 19 Oct 92 07:31:14 GMT	[thread overview]
Message-ID: <1992Oct19.073114.289@lth.se> (raw)

In <comp.lang.ada> stt@spock.camb.inmet.com (Tucker Taft) writes:
>
>Array initializations are problem the worst, since these generally
>occur in a loop, and so the finalization would to be done
>for only those elements for which initialiation succeeded, requiring
>that the exception handler have a loop that depended on the state
>of the initialization loop at the time of the exception.

Arrays are built-in types in C++, so the initialization routine for
and array of Foo is part of the runtime library (typically).  Any
special handling to cope with partial construction is thus restricted
to this single vendor-supplied library routine.

An array library in C++, for example a library that provides index
range checking, would have to be carefully written to preserve the
desired behaviour in presence of exceptions.


		-- Dag

             reply	other threads:[~1992-10-19  7:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-10-19  7:31 Dag Bruck [this message]
  -- strict thread matches above, loose matches on Subject: below --
1992-10-30  2:39 User-defined assignment Alex Blakemore
1992-10-29 18:20 Jack Beidler
1992-10-22 22:19 dog.ee.lbl.gov!hellgate.utah.edu!caen!zaphod.mps.ohio-state.edu!darwin.su
1992-10-21 23:42 dog.ee.lbl.gov!hellgate.utah.edu!caen!zaphod.mps.ohio-state.edu!rpi!bu.ed
1992-10-20 15:12 Rick Hudson
1992-10-19 14:13 Douglas N. Surber
1992-10-19  7:55 Dag Bruck
1992-10-18 19:29 cis.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!uvaarpa!soft
1992-10-17 23:32 Tucker Taft
1992-10-17 17:57 dog.ee.lbl.gov!hellgate.utah.edu!caen!malgudi.oar.net!zaphod.mps.ohio-sta
1992-10-16 23:13 dog.ee.lbl.gov!hellgate.utah.edu!cs.utexas.edu!qt.cs.utexas.edu!news.Brow
1992-10-16 11:58 St ef Van Vlierberghe
1988-12-09 13:16 user-defined assignment Robert Firth
1988-12-09 20:35 ` David S. Rosenblum
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox