From: "M. A. Alves" <maa@liacc.up.pt>
To: comp.lang.ada@ada.eu.org
Subject: How to desambiguate?
Date: Wed, 4 Jul 2001 14:55:36 +0000 (GMT)
Date: 2001-07-04T14:55:36+00:00 [thread overview]
Message-ID: <mailman.994255024.16168.comp.lang.ada@ada.eu.org> (raw)
Consider the subprograms
procedure A(X: in T1);
procedure A(X: in T2);
function B return T1;
function B return T2;
The call
A(B);
is of course ambiguous (and will therefore not compile).
How does one desambiguate? (Assume I want to call the B returning T1.)
Thanks,
--
,
M A R I O data miner, LIACC, room 221 tel 351+226078830, ext 121
A M A D O Rua Campo Alegre, 823 fax 351+226003654
A L V E S P-4150 PORTO, Portugal mob 351+939354002
next reply other threads:[~2001-07-04 14:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-04 14:55 M. A. Alves [this message]
[not found] <Pine.LNX.4.21.0107041449260.3744-100000@www.niaad.liacc.up.pt>
2001-07-04 14:00 ` How to desambiguate? Samuel Tardieu
2001-07-04 15:03 ` M. A. Alves
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox