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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fce663eaf40b52f6 X-Google-Attributes: gid103376,public Path: controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!feed.news.tiscali.de!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Ranges in C++ Date: Sat, 08 May 2004 08:45:05 +0200 Organization: AdaCL Message-ID: <1265427.mASHyCYsmC@linux1.krischik.com> References: <1327280.rH5RGlINvC@linux1.krischik.com> Reply-To: krischik@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1084030376 07 24930 YJz0Go8rpkb-DM5 040508 15:32:56 X-Complaints-To: usenet-abuse@t-online.de X-ID: TJHuWwZHoehNsb2GwkCRjTVBvD37ZdmzP7qaooL82SG3qPkOo5QH8F User-Agent: KNode/0.7.7 Xref: controlnews3.google.com comp.lang.ada:388 Date: 2004-05-08T08:45:05+02:00 List-Id: James Rogers wrote: > Martin Krischik wrote in > news:1327280.rH5RGlINvC@linux1.krischik.com: > >> Xenos wrote: >> >>> As a programmer of both Ada and C++, I too am glad. When I have to >>> use Ada, >>> I sorely miss the STL. Of course, when I have to use C++, I miss >>> unique (new) types derived from primative types...and ranges (oh how >>> I miss ranges!), oh and arrays as first-class types. >> >> I have implemented a little C++ Template-Library emulating ranges. >> It's not at cool as ranges but it works. If you want I package it up >> and make a release for you. > Does it only create integer ranges? It is my understanding that > C++ templates cannot have floating point parameters. Integer ranges, character ranges, integer modular and ranged array inclusive save short / long convertion. But yes: no floating point. Still interested? With Regards Martin -- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com