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,55f6e230b02eff2f X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.glorb.com!wns14feed!worldnet.att.net!attbi_s22.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Containers - nontrivial element access References: <1191275759.184463.238350@n39g2000hsh.googlegroups.com> <1191343440.985588.143470@d55g2000hsg.googlegroups.com> In-Reply-To: <1191343440.985588.143470@d55g2000hsg.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s22 1191370847 12.201.97.213 (Wed, 03 Oct 2007 00:20:47 GMT) NNTP-Posting-Date: Wed, 03 Oct 2007 00:20:47 GMT Organization: AT&T ASP.att.net Date: Wed, 03 Oct 2007 00:20:47 GMT Xref: g2news2.google.com comp.lang.ada:2259 Date: 2007-10-03T00:20:47+00:00 List-Id: Matthew Heaney wrote: > > This is far less safe then simply using Update_Element in nested > fashion. Sure, I wouldn't recommend it, any more than I'd recommend using C/++. But since C/++ uses reference semantics, while Ada uses value semantics, this kind of mess is needed to get something in the C/++ spirit. -- Jeff Carter "Every sperm is sacred." Monty Python's the Meaning of Life 55