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,21960280f1d61e84 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.germany.com!newsfeed-0.progon.net!progon.net!news-zh.switch.ch!switch.ch!cernne03.cern.ch!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: GC in Ada Date: Fri, 09 Feb 2007 16:29:22 +0100 Organization: CERN News Message-ID: References: <1169636785.504223.139630@j27g2000cwj.googlegroups.com> <3pejpgfbki.fsf@hod.lan.m-e-leypold.de> <45c99c24$1@news.post.ch> <45c9bdb8$1@news.post.ch> <45cad095$1@news.post.ch> <1171028868.5352.18.camel@localhost.localdomain> NNTP-Posting-Host: abpc10883.cern.ch Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: cernne03.cern.ch 1171034962 572 137.138.37.241 (9 Feb 2007 15:29:22 GMT) X-Complaints-To: news@@cern.ch NNTP-Posting-Date: Fri, 9 Feb 2007 15:29:22 +0000 (UTC) User-Agent: Thunderbird 1.5.0.9 (X11/20061220) In-Reply-To: <1171028868.5352.18.camel@localhost.localdomain> Xref: g2news2.google.com comp.lang.ada:9199 Date: 2007-02-09T16:29:22+01:00 List-Id: Georg Bauhaus wrote: > Or to have C++ const view and Ada in mode parameters > that extend to the referred object? > J wj; > const J rj = wj; ^ const J &rj = wj; ^ I guess you wanted to use const reference. This is closer to the concept of "view". -- Maciej Sobczak : http://www.msobczak.com/ Programming : http://www.msobczak.com/prog/