comp.lang.ada
 help / color / mirror / Atom feed
* Re: passing a task type as a generic pa
       [not found] <11262@ucbvax.Berkeley.EDU>
@ 1987-07-09 18:36 ` stt
  0 siblings, 0 replies; only message in thread
From: stt @ 1987-07-09 18:36 UTC (permalink / raw)



In general, there is not much you can do with a limited private
generic formal type (whether or not it is a task type),
unless you provide operations along with the type.

Therefore your generic should have generic formal
subprograms along with the type.  The generic actual subprograms
will probably have to be simple procedures which take the
task as a parameter and call the desired entry, rather
than the entries themselves.

Tucker Taft
c/o Intermetrics, Inc.
Cambridge, MA

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1987-07-09 18:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <11262@ucbvax.Berkeley.EDU>
1987-07-09 18:36 ` passing a task type as a generic pa stt

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