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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,243dc2fb696a49cd X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newspeer.monmouth.com!nntp.abs.net!ash.uu.net!spool.news.uu.net!not-for-mail Date: Fri, 24 Sep 2004 09:43:50 -0400 From: Hyman Rosen User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada Popularity: Comparison of Ada/Charles with C++ STL (and Perl) References: <11b4d.3849$d5.30042@newsb.telia.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Organization: KBC Financial Products Message-ID: <1096033431.100639@master.nyc.kbcfp.com> Cache-Post-Path: master.nyc.kbcfp.com!unknown@nightcrawler.nyc.kbcfp.com X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/) NNTP-Posting-Host: 204.253.250.10 X-Trace: 1096033431 26961 204.253.250.10 Xref: g2news1.google.com comp.lang.ada:4102 Date: 2004-09-24T09:43:50-04:00 List-Id: Matthew Heaney wrote: > Note, however, that the index operator isn't completely benign. In > fact, the index operator for map gets its own entry in Effective STL. One of the really annoying features of this operator is that due to its behavior of creating the element if not already present, there is no const version of the operator, and so you cannot use the natural indexing syntax on a const map. There have been many requests for a const version that throws an exception if the element is not present, but you know how language standardization committees are.