From: "Grein, Christoph" <christoph.grein@eurocopter.com>
Subject: Re: A bunch of questions that come after "Hello world"
Date: Mon, 18 Nov 2002 11:32:34 +0100 (MET)
Date: 2002-11-18T11:32:34+01:00 [thread overview]
Message-ID: <mailman.1037615941.24942.comp.lang.ada@ada.eu.org> (raw)
> > Ada does not support multi-dispatch. If you have two controlling
> > operands, they both have to have the same tag.
>
> What do you mean?
>
> procedure( X: Type1'Class; Y: Type2'Class);
The above does not dispatch.
h.
procedure P (X: Type1; Y: Type2);
where both Type1 and Type2 are tagged is illegal.
procedure P (X, Y: TypeX);
P (X, Y);
This call dispatches when X or Y is a class-wide object. Then X and Y must have
have the same tag.
next reply other threads:[~2002-11-18 10:32 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-18 10:32 Grein, Christoph [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-11-13 20:44 A bunch of questions that come after "Hello world" Wojtek Narczynski
2002-11-13 20:57 ` Robert A Duff
2002-11-14 10:18 ` Wojtek Narczynski
2002-11-14 11:21 ` David C. Hoos, Sr.
2002-11-14 19:51 ` tmoran
2002-11-14 21:51 ` Robert A Duff
2002-11-15 17:50 ` Wojtek Narczynski
2002-11-15 23:07 ` Robert A Duff
2002-11-18 10:24 ` Wojtek Narczynski
2002-11-18 11:54 ` Dmitry A. Kazakov
2002-11-18 16:24 ` Wojtek Narczynski
2002-11-18 21:19 ` Robert A Duff
2002-11-19 8:48 ` Dmitry A. Kazakov
2002-11-13 22:06 ` Martin Dowie
2002-11-14 17:48 ` Pascal Obry
2002-11-14 18:53 ` David C. Hoos
2002-11-14 22:36 ` Martin Dowie
2002-11-15 1:25 ` Jeffrey Carter
2002-11-13 22:31 ` Stephen Leake
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox