From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Dispatch on the result still does not work?
Date: Sun, 12 Jul 2009 11:46:18 +0200
Date: 2009-07-12T11:46:19+02:00 [thread overview]
Message-ID: <w9giy3obett0$.1438nilknknzv.dlg@40tude.net> (raw)
In-Reply-To: ce03af53-3750-45ac-bec2-b38bade25094@r36g2000vbn.googlegroups.com
On Sat, 11 Jul 2009 16:22:01 -0700 (PDT), Hibou57 (Yannick Duch�ne) wrote:
> On 11 juil, 21:29, "Dmitry A. Kazakov" <mail...@dmitry-kazakov.de>
> wrote:
>> I would not. A limited object (actually any object) is to be constructed,
>> by a constructor, which cannot be a function or procedure. (The current
>> solution is like a conceptual Swiss cheese)
>
> Your mean another syntatic construct would be welcome to make things
> more distinct ?
No, the syntax is already here:
X : T (<parameter-list>);
What is needed is an ability to require some procedures (like Initialize)
to be called at a certain stages of object construction. There are three
key stages of construction where a user-defined procedure can be called:
1. Determination of constraints (discriminants, bounds, etc)
|
V
allocation
|
V
construction of the components
|
V
construction of the parents
|
V
2. Type-specific initialization
|
V (if class-wide)
construction of the parent classes
|
V
3. Class-specific initialization
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2009-07-12 9:46 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-11 10:04 Dispatch on the result still does not work? Dmitry A. Kazakov
2009-07-11 11:09 ` Chris Moore
2009-07-11 12:05 ` Dmitry A. Kazakov
2009-07-11 17:50 ` Chris Moore
2009-07-11 19:22 ` Dmitry A. Kazakov
2009-07-11 11:32 ` Hibou57 (Yannick Duchêne)
2009-07-11 12:20 ` Dmitry A. Kazakov
2009-07-11 13:36 ` Hibou57 (Yannick Duchêne)
2009-07-11 13:39 ` Hibou57 (Yannick Duchêne)
2009-07-11 15:19 ` Dmitry A. Kazakov
2009-07-11 18:08 ` Hibou57 (Yannick Duchêne)
2009-07-11 19:29 ` Dmitry A. Kazakov
2009-07-11 23:22 ` Hibou57 (Yannick Duchêne)
2009-07-12 9:46 ` Dmitry A. Kazakov [this message]
2009-07-11 18:54 ` Georg Bauhaus
2009-07-11 19:40 ` Dmitry A. Kazakov
2009-07-12 10:40 ` Chris Moore
2009-07-12 11:30 ` Dmitry A. Kazakov
2009-07-12 16:05 ` Chris Moore
2009-07-12 16:38 ` Dmitry A. Kazakov
2009-07-12 17:11 ` AdaMagica
2009-07-12 20:30 ` sjw
2009-07-13 16:55 ` Adam Beneschan
2009-07-13 21:47 ` sjw
2009-07-13 22:50 ` Adam Beneschan
2009-07-14 21:06 ` sjw
2009-07-13 15:13 ` Adam Beneschan
2009-07-13 15:17 ` Adam Beneschan
2009-07-13 16:33 ` AdaMagica
2009-07-13 18:46 ` Adam Beneschan
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox