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=-0.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FREEMAIL_REPLY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f51e93dacd9c7fca X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-25 09:31:48 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: kcline17@hotmail.com (Kevin Cline) Newsgroups: comp.lang.ada Subject: Re: status of Ada STL? Date: 25 Jun 2002 09:31:48 -0700 Organization: http://groups.google.com/ Message-ID: References: NNTP-Posting-Host: 192.76.70.227 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1025022708 27113 127.0.0.1 (25 Jun 2002 16:31:48 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 25 Jun 2002 16:31:48 GMT Xref: archiver1.google.com comp.lang.ada:26697 Date: 2002-06-25T16:31:48+00:00 List-Id: 18k11tm001@sneakemail.com (Russ) wrote in message news:... > "Ehud Lamm" wrote in message news:... > > There were attempts by Musser and Stepanov using Ada IIRC, but the current > > design of the STL uses many C++ specific "tricks". > > If only someone could get them interested again. IIRC, Stepanov abandoned Ada for C++ because he found Ada generics unwieldy, particularly the need to explicitly instantiate each generic before use. A single line of C++ code like this: for_each(myMap.begin(), myMap.end(), mem_fun(myType::action)) would require a dozen lines of Ada code just to instantiate the for_each and mem_fun generic functions. That would eliminate much of the benefit provided by the STL.