From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7769c087a4d30c0e X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!news-in.ntli.net!newsrout1-win.ntli.net!ntli.net!xara.net!gxn.net!194.159.246.34.MISMATCH!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Unchecked_Conversion and task pointer. Date: Sat, 09 Jul 2005 07:23:33 +0100 Organization: Pushface Message-ID: References: <1120751455.846822.141050@z14g2000cwz.googlegroups.com> <1120772341.013923.14450@o13g2000cwo.googlegroups.com> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1120890206 2278 62.49.19.209 (9 Jul 2005 06:23:26 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Sat, 9 Jul 2005 06:23:26 +0000 (UTC) Cancel-Lock: sha1:qz8hEg072FRQAeKfe2BJWctZv44= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Xref: g2news1.google.com comp.lang.ada:11971 Date: 2005-07-09T07:23:33+01:00 List-Id: "e.coli" 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!)