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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fce663eaf40b52f6 X-Google-Attributes: gid103376,public Path: controlnews3.google.com!news1.google.com!news.glorb.com!wn12feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Ranges in C++ From: James Rogers References: <1327280.rH5RGlINvC@linux1.krischik.com> Message-ID: User-Agent: Xnews/5.04.25 Date: Fri, 07 May 2004 23:18:15 GMT NNTP-Posting-Host: 12.73.180.135 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1083971895 12.73.180.135 (Fri, 07 May 2004 23:18:15 GMT) NNTP-Posting-Date: Fri, 07 May 2004 23:18:15 GMT Organization: AT&T Worldnet Xref: controlnews3.google.com comp.lang.ada:381 Date: 2004-05-07T23:18:15+00:00 List-Id: 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. Jim Rogers