comp.lang.ada
 help / color / mirror / Atom feed
From: stt@ada-uts
Subject: Re: passing a task type as a generic pa
Date: Thu, 9-Jul-87 14:36:00 EDT	[thread overview]
Date: Thu Jul  9 14:36:00 1987
Message-ID: <57900033@ada-uts> (raw)
In-Reply-To: 11262@ucbvax.Berkeley.EDU


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

           reply	other threads:[~1987-07-09 18:36 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <11262@ucbvax.Berkeley.EDU>]
replies disabled

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