comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Elaboration of nested generic package.
Date: 11 Jul 2003 17:26:18 -0400
Date: 2003-07-11T17:26:18-04:00	[thread overview]
Message-ID: <wccadbkpxfp.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: qf3jeb.1p7.ln@skymaster

"Jean-Pierre Rosen" <rosen@adalog.fr> writes:

> "Robert I. Eachus" <rieachus@attbi.com> a �crit dans le message de news:3F0CF0AE.5030409@attbi.com...
> > Oops! Silly me! We fixed that one, the pragma is now necessary if you
> > intend to provide a body, if the body is not otherwise required.  (Why
> > would you want to do that?  I don't know.  But there is a way to do it
> > if necessary.)
> 
> A package that declares only tasks in the body comes to mind....

Yes.  Also, another case comes to mind: you want to declare a type
extension in a package body, where the package spec is totally empty.
The Initialize operation might register objects of the type into some
global data structure.  Nobody calls the operations of this type
directly, but only via dispatching.

- Bob



  parent reply	other threads:[~2003-07-11 21:26 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-02  4:13 Elaboration of nested generic package christoph.grein
2003-07-08  3:05 ` Don Westermeyer
2003-07-08 17:46   ` Matthew Heaney
2003-07-10  1:10     ` Don Westermeyer
2003-07-10  1:35       ` Robert I. Eachus
2003-07-10  4:51         ` Robert I. Eachus
2003-07-10  6:58           ` Jean-Pierre Rosen
2003-07-10 15:08             ` Robert I. Eachus
2003-07-11 21:26             ` Robert A Duff [this message]
2003-07-10 14:12         ` Matthew Heaney
2003-07-10 15:39           ` Robert I. Eachus
2003-07-11 21:41           ` Robert A Duff
2003-07-14 18:35             ` Matthew Heaney
2003-07-15 17:19               ` Randy Brukardt
2003-07-16 15:24                 ` Matthew Heaney
2003-07-17  2:08                   ` Randy Brukardt
2003-07-17 15:54                     ` Richard Riehle
2003-07-10 15:03         ` Don Westermeyer
2003-07-10 15:45       ` Matthew Heaney
  -- strict thread matches above, loose matches on Subject: below --
2003-07-09  5:21 christoph.grein
2003-07-01 20:14 Don Westermeyer
replies disabled

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