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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,965fbd9798ca1677 X-Google-Attributes: gid103376,public From: "Matthew Heaney" Subject: Re: Return by reference Date: 1999/11/03 Message-ID: <382067ab_2@news1.prserv.net>#1/1 X-Deja-AN: 544010482 Content-transfer-encoding: 7bit References: <38203d4a_1@news1.prserv.net> Content-Type: text/plain; charset="US-ASCII" X-Complaints-To: abuse@prserv.net X-Trace: 3 Nov 1999 16:49:47 GMT, 32.101.8.228 Organization: Global Network Services - Remote Access Mail & News Services Mime-version: 1.0 Newsgroups: comp.lang.ada Date: 1999-11-03T00:00:00+00:00 List-Id: In article <38203d4a_1@news1.prserv.net> , "Matthew Heaney" wrote: > In article > , Brian Rogoff wrote: > >> I was going to use the "Rosen trick" to modify data in the Fmt each time >> "&" is called. Unfortunately, that requires making the full view of >> Format_Type limited and you run into the problem I described. >> >> Is there a cleaner way to implement that interface? > > 1) Privately implement the type as tagged, to make it a by-reference > type. I should have said, "implement the type as *nonlimited* tagged..." -- The political forces that try to eliminate evolution from science classrooms impose a narrow, sectarian doctrine on our educational systems. This imposition represents an affront not only to the constitutional separation of church and state but also to the moral and intellectual integrity embedded in that constitution.