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,1e36228aae0595da X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!nuzba.szn.dk!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Access to function returning class-wide type Date: Fri, 22 Aug 2008 18:50:07 -0500 Organization: Jacob's private Usenet server Message-ID: References: NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: jacob-sparre.dk 1219449030 22552 69.95.181.76 (22 Aug 2008 23:50:30 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Fri, 22 Aug 2008 23:50:30 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 Xref: g2news1.google.com comp.lang.ada:1775 Date: 2008-08-22T18:50:07-05:00 List-Id: "Randy Brukardt" wrote in message news:g8lgof$54c$1@jacob-sparre.dk... ... > Anyway, the access parameter exists so that an instance of this routine > matches the profile of S'Class'Input. After all, the purpose of this > routine is to eliminate the Ada 95 compiler magic involved with > S'Class'Input and make it user-programmable. The thought is that a > user-defined version of S'Class'Input would be directly specified as an > instance of Generic_Dispatching_Constructor. I realized just now that I screwed up this answer, it doesn't make much sense as I wrote it above. The correct reason was so that S'Input could be used as the constructor routine to an instance of Generic_Dispatching_Constructor, and then that instance could be used as part of a routine implementing a user-defined S'Class'Input. Sorry about any confusion. Randy.