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,8c4274b8fd2e1f83 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.scarlet.biz!news.scarlet.biz.POSTED!not-for-mail NNTP-Posting-Date: Sun, 23 Jul 2006 13:08:19 -0500 From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: generic child package References: <1153637097.986754.139160@75g2000cwc.googlegroups.com> <18vshm271kljo$.14dm2c0ayqmwz$.dlg@40tude.net> <1153677426.833491.45220@b28g2000cwb.googlegroups.com> Date: Sun, 23 Jul 2006 20:08:46 +0200 Message-ID: <87r70cxkgh.fsf@ludovic-brenta.org> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:IFhNeyjfj8y15jEeC/TAZt5cIfg= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 62.235.237.149 X-Trace: sv3-rVFRkO00oGUjw1T9W5qheijfTizA36u9Ytr04TV6VTSWWIsnQfHQShR7+fDxdBrJXciPWtro3WXrU/D!jCyZsgcOuP+IRcoUFCW02beHqDsyzXaNZxXpEByu249wOjdWzZGNeZiy+l32041bHIDz6Yuql+U= X-Complaints-To: abuse@scarlet.be X-DMCA-Complaints-To: abuse@scarlet.biz X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news2.google.com comp.lang.ada:5890 Date: 2006-07-23T20:08:46+02:00 List-Id: nblanpain@hotmail.com writes: > yes excuse me : > > generic > type T_Toto is private; > > but are you sur it is : > with P_Child1 is new Parent.Child1; Yes, that's correct. Have you looked at the Wikibook chapter on generics? It is here: http://en.wikibooks.org/wiki/Ada_Programming/Generics > and not > with P_Child1 is new Parent.Child1 (<>); -- Ludovic Brenta.