From: Simon Wright <simon@pushface.org>
Subject: Re: Unchecked_Conversion and task pointer.
Date: Sat, 09 Jul 2005 07:23:33 +0100
Date: 2005-07-09T07:23:33+01:00 [thread overview]
Message-ID: <m2ll4gxztm.fsf@grendel.local> (raw)
In-Reply-To: 1120772341.013923.14450@o13g2000cwo.googlegroups.com
"e.coli" <maurizio.ferracini@gmail.com> writes:
> i need it, i want pass a pointer to an istance of a task type with a
> generic part to an other task outside the package where the generic
> task type is defined.
> if exist an other way to do this is wellcome :)
You might consider constraining the task type by access to classwide
type and putting the differing functionality there?
type Job is abstract tagged private;
type Job_P is access all Job'Class;
task type Performer (For_Job : Job_P) is ...
(not compiled!)
next prev parent reply other threads:[~2005-07-09 6:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-07 15:50 Unchecked_Conversion and task pointer e.coli
2005-07-07 18:56 ` Randy Brukardt
2005-07-07 21:39 ` e.coli
2005-07-09 6:23 ` Simon Wright [this message]
2005-07-07 20:18 ` Dmitry A. Kazakov
2005-07-07 21:31 ` Randy Brukardt
2005-07-08 7:48 ` Dmitry A. Kazakov
2005-07-10 1:42 ` Randy Brukardt
2005-07-10 8:26 ` Dmitry A. Kazakov
2005-07-11 18:28 ` Randy Brukardt
2005-07-12 8:13 ` Dmitry A. Kazakov
2005-07-12 20:30 ` Randy Brukardt
2005-07-13 8:11 ` Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox