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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,8c4274b8fd2e1f83,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!75g2000cwc.googlegroups.com!not-for-mail From: nblanpain@hotmail.com Newsgroups: comp.lang.ada Subject: generic child package Date: 22 Jul 2006 23:44:58 -0700 Organization: http://groups.google.com Message-ID: <1153637097.986754.139160@75g2000cwc.googlegroups.com> NNTP-Posting-Host: 86.194.191.126 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1153637103 6099 127.0.0.1 (23 Jul 2006 06:45:03 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 23 Jul 2006 06:45:03 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1; HbTools 4.8.0),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: 75g2000cwc.googlegroups.com; posting-host=86.194.191.126; posting-account=_RMqsA0AAAC-PdbSlgs9JBFgDjKtbmJX Xref: g2news2.google.com comp.lang.ada:5885 Date: 2006-07-22T23:44:58-07:00 List-Id: Is my example correct ? : ------------------------------ generic with type T_Toto is private; package Parent is pragma Pure; end Parent; ------------------------------ ------------------------------ generic package Parent.Child1 is type T_Child1 is tagged private; .... end Parent.Child1; ------------------------------ ------------------------------ generic with P_Child1 is new Parent.Child1; ----- or with P_Child1 is new Parent.Child1 (<>); ????? package Parent.Child2 is type T_Child2 is new P_Child1.T_Child1 with private; .... end Parent.Child2; ------------------------------ Is there or problem or is it correct ? Thanks,