comp.lang.ada
 help / color / mirror / Atom feed
* How to desambiguate?
@ 2001-07-04 14:55 M. A. Alves
  0 siblings, 0 replies; 3+ messages in thread
From: M. A. Alves @ 2001-07-04 14:55 UTC (permalink / raw)
  To: comp.lang.ada

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-07-04 15:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [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
2001-07-04 14:55 M. A. Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox