From: petter.fryklund.konsult@dynamics.saab.se (Petter Fryklund)
Subject: Re: Dispatching problem.
Date: 11 Feb 2003 00:31:18 -0800
Date: 2003-02-11T08:31:19+00:00 [thread overview]
Message-ID: <f74cb448.0302110031.3231a9c8@posting.google.com> (raw)
In-Reply-To: rvne4vkbbgcnk7hv37mvbegbjafhonnmji@4ax.com
> package A is
> type Msg is abstract tagged null record;
> procedure Y (X : in out Msg) is abstract;
>
> type M1 is new Msg with ...;
> procedure Y (X : in out Msg);
>
> type M2 is new Msg with ...;
> procedure Y (X : in out Msg);
> end A;
>
> with A;
> package B is
> type M1 is new A.M1 with ...;
> procedure Y (X : in out M1);
>
> type M2 is new A.M2 with ...;
> procedure Y (X : in out M2);
> end B;
>
> BTW, the package B looks superfluos, as it possibly is, if you are
> saying that A.Mi = B.Mi.
>
> ---
> Regards,
> Dmitry Kazakov
> www.dmitry-kazakov.de
ur. We forgot to redesign, we just thought of what we already had.
We're changing A to just containing type definitions, since it's
needed in several other places and B to holds the oo stuff.
Thx,
Petter
next prev parent reply other threads:[~2003-02-11 8:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-06 14:04 Dispatching problem Petter Fryklund
2003-02-06 15:33 ` James S. Rogers
2003-02-07 7:35 ` Petter Fryklund
2003-02-07 9:01 ` Dmitry A. Kazakov
2003-02-07 14:55 ` Petter Fryklund
2003-02-10 9:12 ` Dmitry A. Kazakov
2003-02-11 8:31 ` Petter Fryklund [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-01-15 18:55 petter_fryklund
2008-01-15 19:49 ` Dmitry A. Kazakov
2008-01-15 20:01 ` petter_fryklund
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox