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,72113392dc4997bd X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-04-22 14:17:53 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!newsfeed!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Subprogram Pointer in a Generic Date: 22 Apr 2003 17:17:52 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <1ftiuys.1twhum2q9qa00N%claveman@grzorgenplatz.net> <3EA56F02.5090806@cogeco.ca> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1051046272 8824 199.172.62.241 (22 Apr 2003 21:17:52 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Tue, 22 Apr 2003 21:17:52 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:36371 Date: 2003-04-22T17:17:52-04:00 List-Id: "Warren W. Gay VE3WWG" writes: > I think so. I found this to be a horrible limitation when it > was necessary to register a callback from within a generic. Why? Declaring something in the private part of the generic package is roughly the same thing as putting it in the body. It's not *exactly* the same, but close enough. And it has little effect on compile times, if the compiler is not sharing code (which is the usual case). - Bob