comp.lang.ada
 help / color / mirror / Atom feed
From: Scott Edgerton {81813} <sge@SWL.MSD.RAY.COM>
Subject: Re: Generic procedures.
Date: 1997/11/14
Date: 1997-11-14T00:00:00+00:00	[thread overview]
Message-ID: <Pine.SUN.3.95q.971114074937.26009B-100000@swlpnm.msd.ray.com> (raw)


Tobias Ritzau wrote:

> I wonder if it is possible to have a generic procedure in a
> package and do some instations in the same spec.

Generics typically are written to support code reuse.  With that, I
would suggest that you make the generic into a separate unit (outside of
your package)

This way, you can "With" the generic, and instantiate to your liking.


                        Scott

Std Disclaimer:  I speak for myself, not my employer.
_________________________________________________________________
Scott G. Edgerton
Command and Control Systems Dept
Raytheon, Hagar pond
Marlborough, MA




             reply	other threads:[~1997-11-14  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-11-14  0:00 Scott Edgerton {81813} [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-11-11  0:00 Generic procedures Tobias Ritzau
1997-11-13  0:00 ` Mats Weber
replies disabled

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