comp.lang.ada
 help / color / mirror / Atom feed
From: Gautier <gautier.demontmollin@maths.unine.ch>
Subject: Re: Export instances of procedures
Date: 2000/04/25
Date: 2000-04-25T00:00:00+00:00	[thread overview]
Message-ID: <3905CCCB.C48B9113@maths.unine.ch> (raw)
In-Reply-To: 38FD0E08.6C96@li.net

Vincent Marciante wrote:

> At this point, Read_8bit_AutoInt(...) requires a completion.
> A subprogram renaming declaration (RM 8.5.4) can act as a completion but
> an instantiation can't.

Sorry for insisting on this question, but _why_ cannot the instance
be considered as complete ? Well, the generic body could depend on an
uncompletely defined type, hence the instance too. But the instance
could also be clearly complete, couldn't it ? In my code, it is!
In that case what does the "renames" bring ? Is it purely formal
or does it reflect some indirections (indirect access to the procedure) ?

NB: I have seen in the Manual many topics about completion (3.10.1, 3.11.1,
7.6.1, 9.5.2) and the one that seems the most relevant here, 8.5.4(5) but
I didn't guess the motivations behind these rules...
Maybe some wise one knows them or can decipher the Runes ? ;-)
______________________________________________________
Gautier  --  http://members.xoom.com/gdemont/gsoft.htm




  reply	other threads:[~2000-04-25  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-18  0:00 Export instances of procedures Gautier
2000-04-18  0:00 ` Vincent Marciante
2000-04-25  0:00   ` Gautier [this message]
2000-04-25  0:00     ` Vincent Marciante
2000-04-25  0:00     ` Robert Dewar
2000-04-26  0:00       ` Gautier
2000-04-26  0:00     ` Tucker Taft
2000-04-19  0:00 ` Jean-Pierre Rosen
2000-04-19  0:00   ` Pascal Obry
2000-04-19  0:00     ` Jean-Pierre Rosen
2000-04-19  0:00       ` Pascal Obry
2000-04-20  0:00         ` Gautier
replies disabled

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