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-23 14:01:28 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!torn!snoopy.risq.qc.ca!nf3.bellglobal.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Message-ID: <3EA6FB97.8050204@cogeco.ca> From: "Warren W. Gay VE3WWG" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Subprogram Pointer in a Generic References: <1ftiuys.1twhum2q9qa00N%claveman@grzorgenplatz.net> <3EA56F02.5090806@cogeco.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 23 Apr 2003 16:46:15 -0400 NNTP-Posting-Host: 198.96.223.163 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1051130776 198.96.223.163 (Wed, 23 Apr 2003 16:46:16 EDT) NNTP-Posting-Date: Wed, 23 Apr 2003 16:46:16 EDT Organization: Bell Sympatico Xref: archiver1.google.com comp.lang.ada:36441 Date: 2003-04-23T16:46:15-04:00 List-Id: Robert A Duff wrote: > "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 Well, all I know is that GNAT didn't like it. I had to find another way. I didn't have time to deliberate about it. Even now, I don't have the time to fuss with it. -- Warren W. Gay VE3WWG http://home.cogeco.ca/~ve3wwg