comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@world.std.com>
Subject: Re: Problem with instantiating generic procedure
Date: 1999/07/19
Date: 1999-07-19T00:00:00+00:00	[thread overview]
Message-ID: <wcck8rwejsq.fsf@world.std.com> (raw)
In-Reply-To: 7mqfcq$9og$1@pegasus.csx.cam.ac.uk

mgk25@cl.cam.ac.uk (Markus Kuhn) writes:

> What is wrong with simply implementing a procedure declared
> in the spec file in the body file by instantiating it from
> a generic procedure of the exact same signature? ...

Nothing, except that it's illegal.  ;-)

The Ada 9X design team proposed to allow this, but it was not considered
important enough -- any language change has some cost, and the benefit
of allowing this is not huge.

Note that in Ada 83, the renaming-as-body didn't exist, so you had to
write a whole wrapper body.

- Bob
-- 
Change robert to bob to get my real email address.  Sorry.




      parent reply	other threads:[~1999-07-19  0:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-17  0:00 Problem with instantiating generic procedure Markus Kuhn
1999-07-17  0:00 ` Vladimir Olensky
1999-07-17  0:00 ` Florian Weimer
1999-07-18  0:00   ` Markus Kuhn
1999-07-18  0:00     ` Chad R. Meiners
1999-07-18  0:00     ` Florian Weimer
1999-07-19  0:00       ` Robert Dewar
1999-07-19  0:00         ` Florian Weimer
1999-07-18  0:00 ` David C. Hoos, Sr.
1999-07-19  0:00 ` Tucker Taft
1999-07-19  0:00   ` Markus Kuhn
1999-07-23  0:00     ` Tucker Taft
1999-07-19  0:00 ` Robert A Duff [this message]
replies disabled

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