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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bae7ef2665942955 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-15 16:11:32 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!cambridge1-snf1.gtei.net!news.gtei.net!bos-service1.ext.raytheon.com!cyclone.swbell.net!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas-nf1!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!newsread1.news.atl.earthlink.net.POSTED!not-for-mail Sender: mheaney@MHEANEYX200 Newsgroups: comp.lang.ada Subject: Re: containers and garbage collections. References: <2458809.CYNMQ0Kujp@linux1.krischik.com> <23635057.dHrhOAZpeb@linux1.krischik.com> <4bgbmvc1933igu2olve437akuoc0c2lih0@4ax.com> From: Matthew Heaney Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 15 Sep 2003 23:11:31 GMT NNTP-Posting-Host: 65.110.133.134 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.news.atl.earthlink.net 1063667491 65.110.133.134 (Mon, 15 Sep 2003 16:11:31 PDT) NNTP-Posting-Date: Mon, 15 Sep 2003 16:11:31 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.lang.ada:42546 Date: 2003-09-15T23:11:31+00:00 List-Id: Dmitry A. Kazakov writes: > What you will lose with it, and there is always something to lose, is > that the type operations will not be considered dispatching. So if the > actual of Element_Type is class-wide, and you want to dispatch > somewhere in a generic body, you will need to pass a [class-wide] > wrapper subprogram around a primitive operation instead of the > primitive operation itself. That wasn't required for his problem. All the dispatching is done outside of the generic.