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: a07f3367d7,65b902127ca8a604 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!news2.arglkargh.de!news.visyn.net!open-news-network.org!visyn.net!goblin2!goblin.stu.neva.ru!fi.sn.net!newsfeed1.tdcnet.fi!news.song.fi!not-for-mail Date: Fri, 26 Jun 2009 14:18:31 +0300 From: Niklas Holsti User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20060628 Debian/1.7.8-1sarge7.1 X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Issue with GNAT GPL 2009 and GtkAda References: <4A414EBB.8060204@free.fr> <1avd65rn49abv$.krcxo2gdzb16$.dlg@40tude.net> <4a43c9ce$0$420$426a74cc@news.free.fr> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4a44ae4e$0$6295$4f793bc4@news.tdc.fi> Organization: TDC Internet Services NNTP-Posting-Host: 81.17.205.61 X-Trace: 1246015054 news.tdc.fi 6295 81.17.205.61:32962 X-Complaints-To: abuse@tdcnet.fi Xref: g2news2.google.com comp.lang.ada:6639 Date: 2009-06-26T14:18:31+03:00 List-Id: > Damien Carbonne writes: >> >> type Listener is interface; >> procedure Process (L : in out Listener) is abstract; ... >> type Base is tagged null record; ... >> type Derived is new Base and Listener with null record; >> overriding procedure Process (D : in out Derived); >> Stephen Leake wrote: > The problem is clear here. > > "D : in out Derived" is allowed to create a copy of the actual > parameter. Huh? Do you mean that this "D" parameter may be passed by copy? But "Derived" is a tagged type, and tagged types are passed by reference, not by copy. Or so I thought. -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .