From: "Jean-Pierre Rosen" <rosen@adalog.fr>
Subject: Re: Weird controlled behavior - Gnat 3.15p NT
Date: Tue, 9 Sep 2003 09:02:06 +0200
Date: 2003-09-09T09:02:06+02:00 [thread overview]
Message-ID: <1aujjb.m2u.ln@skymaster> (raw)
In-Reply-To: pwa7b.8484$w41.5873@nwrdny02.gnilink.net
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 824 bytes --]
"Hyman Rosen" <hyrosen@mail.com> a �crit dans le message de news:pwa7b.8484$w41.5873@nwrdny02.gnilink.net...
> Robert I. Eachus wrote:
> > there are a number of situations where even a limited object
> > may be finalized several times
>
> It's important to point this out to new Ada programmers who are
> coming from C++, since this is a major difference in the languages.
> In C++, an object's constructor and destructor are called exactly
> once, so an object never needs to keep track internally if it has
> been initialized or finalized.
>
And what happens in C++ when an exception is raised by a destructor,
for this object and for objects not yet finalized?
--
---------------------------------------------------------
J-P. Rosen (rosen@adalog.fr)
Visit Adalog's web site at http://www.adalog.fr
next prev parent reply other threads:[~2003-09-09 7:02 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-04 15:25 Weird controlled behavior - Gnat 3.15p NT Jano
2003-09-04 15:40 ` Martin Krischik
2003-09-04 18:06 ` Patrice Freydiere
2003-09-04 19:03 ` Jano
2003-09-04 20:57 ` Jano
2003-09-05 8:48 ` Preben Randhol
2003-09-05 13:48 ` Jano
2003-09-04 21:36 ` Robert I. Eachus
2003-09-05 4:04 ` Randy Brukardt
2003-09-05 13:48 ` Jano
2003-09-05 14:33 ` Dmitry A. Kazakov
2003-09-09 2:01 ` Hyman Rosen
2003-09-09 7:02 ` Jean-Pierre Rosen [this message]
2003-09-11 3:40 ` Hyman Rosen
2003-09-09 8:22 ` Dmitry A. Kazakov
2003-09-11 3:46 ` Hyman Rosen
2003-09-11 8:23 ` Dmitry A. Kazakov
2003-09-05 7:10 ` Jean-Pierre Rosen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox