Topic: STL
Author: jpotter@falcon.lhup.edu (John Potter)
Date: 2000/06/25 Raw View
On Sun, 25 Jun 2000 01:20:53 CST, "Ney Andr=E9 de Mello Zunino"
<zunino@ias.unu.edu> wrote:
>=20
> "John Potter" <jpotter@falcon.lhup.edu> wrote in message
> news:3953a402.28858861@news.csrlink.net...
> >
> > Word games. STL is produced by SGI and it has
> > hash_set/multiset/map/multimap. The C++ standard library does not.
> >
> > John
>=20
> I am sorry, but it would be more precise to say that SGI provides an
> implementation of the STL which is part of the C++ Standard Library. To=
say
> that the STL is produced by SGI is like transforming something which is
> basically a set of specifications into a proprietary thing (and also to
> ignore the existence of companies like Rogue Wave). You can create your=
own
> implementation of the STL, if you wish, provided you follow the
> specifications.
Valid except that neither STL nor Standard Template Library are words
which appear in the C++ standard. Ron was playing word games. The
SGI(from HP)STL contains hash containers. The C++ standard does not
contain an STL or hash containers.
The real question was why does the C++ standard library not contain
hash containers and was answered quite well.
John
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]
Author: James Kuyper <kuyper@wizard.net>
Date: 2000/06/26 Raw View
"Ney Andr=E9 de Mello Zunino" wrote:
>=20
> "John Potter" <jpotter@falcon.lhup.edu> wrote in message
> news:3953a402.28858861@news.csrlink.net...
> >
> > Word games. STL is produced by SGI and it has
> > hash_set/multiset/map/multimap. The C++ standard library does not.
> >
> > John
>=20
> I am sorry, but it would be more precise to say that SGI provides an
> implementation of the STL which is part of the C++ Standard Library. To=
say
> that the STL is produced by SGI is like transforming something which is
> basically a set of specifications into a proprietary thing (and also to
> ignore the existence of companies like Rogue Wave). You can create your=
own
> implementation of the STL, if you wish, provided you follow the
> specifications.
You're missing the point. STL was not written to implement the C++
standard, it existed a long time before the standard did. It could have
been proprietary if the developers had insisted. A very large part of
STL was incorporated into the C++ standard, but not all of it, and some
fairly drastic changes were made to it in the process. The standard
never refers to STL. There's a large portion of the standard library
which depends upon templates, and that portion is almost identical to
the parts that were adapted from STL, and it seems quite reasonable to
me to call that portion the "Standard Template Library", and to
abbreviate it as STL. However, when someone wants to play word games, it
is strictly correct to say that STL has hashed containers, but the C++
standard library does not.
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]
Author: "Gandalf Gray" <gandgray@hotmail.com>
Date: 2000/06/23 Raw View
Why does STL not contain hash table templates?
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]
Author: comeau@panix.com (Greg Comeau)
Date: 2000/06/23 Raw View
In article <8it0ed$ggu$1@news.netvision.net.il>,
Gandalf Gray <gandgray@hotmail.com> wrote:
>Why does STL not contain hash table templates?
In hindsight it's certainly perplexing that it doesn't.
But the committee is a volunteer group, with schedules, and
as with many things, the timing wasn't right, simple as that,
and the rest is history as they say. As strange as
hash tables being left out is, just as amazing is that any
of the STL even managed to get added. With things such
as feature freezes nearing, and lots of work left on STL
and other matters, hash tables just never got in.
- Greg
--
Comeau Computing / Comeau C/C++ 4.2.42 (4.2.44 expected soon)
TRY Comeau C++ ONLINE at http://www.comeaucomputing.com/tryitout
Email: comeau@comeaucomputing.com / WEB: http://www.comeaucomputing.com
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]
Author: Ron Natalie <ron@sensor.com>
Date: 2000/06/23 Raw View
Gandalf Gray wrote:
>
> Why does STL not contain hash table templates?
>
STL does (hashmap)
The containers library in the language standard is what is missing it.
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]
Author: comeau@panix.com (Greg Comeau)
Date: 2000/06/24 Raw View
In article <39527357.AF68E477@sensor.com>, Ron Natalie <ron@sensor.com> wrote:
>Gandalf Gray wrote:
>> Why does STL not contain hash table templates?
>>
>STL does (hashmap)
>
>The containers library in the language standard is what is missing it.
Are you referring to the locale's hash stuff?
- Greg
--
Comeau Computing / Comeau C/C++ 4.2.42 (4.2.44 expected soon)
TRY Comeau C++ ONLINE at http://www.comeaucomputing.com/tryitout
Email: comeau@comeaucomputing.com / WEB: http://www.comeaucomputing.com
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]
Author: jpotter@falcon.lhup.edu (John Potter)
Date: 2000/06/24 Raw View
On Sat, 24 Jun 2000 03:08:30 CST, comeau@panix.com (Greg Comeau) wrote:
> In article <39527357.AF68E477@sensor.com>, Ron Natalie <ron@sensor.com> wrote:
> >Gandalf Gray wrote:
> >> Why does STL not contain hash table templates?
> >>
> >STL does (hashmap)
> >
> >The containers library in the language standard is what is missing it.
>
> Are you referring to the locale's hash stuff?
Word games. STL is produced by SGI and it has
hash_set/multiset/map/multimap. The C++ standard library does not.
John
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]
Author: comeau@panix.com (Greg Comeau)
Date: 2000/06/24 Raw View
In article <3953a402.28858861@news.csrlink.net>,
John Potter <jpotter@falcon.lhup.edu> wrote:
>On Sat, 24 Jun 2000 03:08:30 CST, comeau@panix.com (Greg Comeau) wrote:
>> In article <39527357.AF68E477@sensor.com>, Ron Natalie <ron@sensor.com> wrote:
>> >Gandalf Gray wrote:
>> >> Why does STL not contain hash table templates?
>> >>
>> >STL does (hashmap)
>> >
>> >The containers library in the language standard is what is missing it.
>>
>> Are you referring to the locale's hash stuff?
>
>Word games. STL is produced by SGI and it has
>hash_set/multiset/map/multimap. The C++ standard library does not.
Ok, it has sounded like it was being used, slangishly,
to describe the container/algorithm/iterators stuff in the SL,
and not as SGI's STL.
- Greg
--
Comeau Computing / Comeau C/C++ 4.2.42 (4.2.44 expected soon)
TRY Comeau C++ ONLINE at http://www.comeaucomputing.com/tryitout
Email: comeau@comeaucomputing.com / WEB: http://www.comeaucomputing.com
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]
Author: "Ney Andr de Mello Zunino" <zunino@ias.unu.edu>
Date: 2000/06/25 Raw View
"John Potter" <jpotter@falcon.lhup.edu> wrote in message
news:3953a402.28858861@news.csrlink.net...
>
> Word games. STL is produced by SGI and it has
> hash_set/multiset/map/multimap. The C++ standard library does not.
>
> John
I am sorry, but it would be more precise to say that SGI provides an
implementation of the STL which is part of the C++ Standard Library. To say
that the STL is produced by SGI is like transforming something which is
basically a set of specifications into a proprietary thing (and also to
ignore the existence of companies like Rogue Wave). You can create your own
implementation of the STL, if you wish, provided you follow the
specifications.
Regards,
Ney Andr de Mello Zunino.
"Take of the fruit,
But guard the seed..."
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]
Author: James Kanze <james-albert.kanze@vx.cit.alcatel.fr>
Date: 1997/04/23 Raw View
ross.canning@compucat.com.au (Ross Canning) writes:
|> Does anyone know where I can get an implementation of the STL which is
|> portable to Borland C++, SunPro C++ and HP C++. The free HP
|> implementation does not compile under SunPro.
Which versions of each compiler? There is a site in Moscow
(http://www.ipmce.su/people/fbp/stl/stlport.html) which has a version of
the SGI sources ported to Sun CC and (I think) Borland.
--
James Kanze home: kanze@gabi-soft.fr +33 (0)1 39 55 85 62
office: kanze@vx.cit.alcatel.fr +33 (0)1 69 63 14 54
GABI Software, Sarl., 22 rue Jacques-Lemercier, F-78000 Versailles France
-- Conseils en informatique industrielle --
---
[ comp.std.c++ is moderated. To submit articles: try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
[ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu ]
Author: Marcelo Cantos <marcelo@mds.rmit.edu.au>
Date: 1997/04/18 Raw View
ross.canning@compucat.com.au (Ross Canning) writes:
> Does anyone know where I can get an implementation of the STL which is
> portable to Borland C++, SunPro C++ and HP C++. The free HP
> implementation does not compile under SunPro.
http://www.ipmce.su/people/fbp/stl/index.html
--
______________________________________________________________________
Marcelo Cantos, Research Assistant __/_ marcelo@mds.rmit.edu.au
Multimedia Database Systems Group, RMIT / _ Tel 61-3-9282-2497
723 Swanston St, Carlton VIC 3053 Aus/ralia ><_> Fax 61-3-9282-2490
Acknowledgements: errors - me; wisdom - God; funding - RMIT
---
[ comp.std.c++ is moderated. To submit articles: try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
[ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu ]
Author: Mark Nelson <markn@tiny.com>
Date: 1997/04/18 Raw View
Ross Canning wrote:
>
> Does anyone know where I can get an implementation of the STL which is
> portable to Borland C++, SunPro C++ and HP C++. The free HP
> implementation does not compile under SunPro.
>
You might want to try the STL page at SGI:
http://www.sgi.com/Technology/STL/
Alex Stepanov seems to be actively maintaining this version. It is
supposed to work properly with the SGI compiler, no mention of whether
SunPro is supported or not.
If that doesn't work you may have to go with a commercial version from
ObjectSpace, which has very wide support.
-----------------------------
Mark Nelson
Addisoft Consulting - Solutions to your C/C++ Programming Needs
markn@tiny.com
http://web2.airmail.net/markn
---
[ comp.std.c++ is moderated. To submit articles: Try just posting with your
newsreader. If that fails, use mailto:std-c++@ncar.ucar.edu
comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
Comments? mailto:std-c++-request@ncar.ucar.edu
]
Author: ross.canning@compucat.com.au (Ross Canning)
Date: 1997/04/17 Raw View
Does anyone know where I can get an implementation of the STL which is
portable to Borland C++, SunPro C++ and HP C++. The free HP
implementation does not compile under SunPro.
Thanks.
---
[ comp.std.c++ is moderated. To submit articles: try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
[ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu ]
Author: cynosure@limestone.kosone.com (Cynosure Computer Tech)
Date: 1996/02/20 Raw View
Do the STL output iterators work with binary files? I have taken
a quick look but didn't see any support. All pointers are welcome.
Thanks
Larry :-)
---
[ To submit articles: try just posting with your news-reader.
If that fails, use mailto:std-c++@ncar.ucar.edu
FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html
Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html
Comments? mailto:std-c++-request@ncar.ucar.edu.
]
Author: hevi@hilja.it.lut.fi (Petri Heinil{)
Date: Sat, 25 Feb 1995 16:38:59 GMT Raw View
In article <D4DAC9.M1F@cix.compulink.co.uk>, pmoore@cix.compulink.co.uk ("Paul Moore") writes:
> I have a copy of the STL which I picked up via FP from somewhere. I'm
> not sure if it's up to date. Where would I get the latest version?
> Also, will STL work with a CFront 3.0 based C++ compiler? I will
> shortly be getting my hands on such a compiler, and I'd like to use
> STL, if possible.
I looked the STL by compiling it with cfront 3.0 (sunos4,hpux9) and
gcc (2.5.8) and have no success. The development environment for
HP's STL seems to be Borland C++ and IBM aix C++ compilers. So
any plug and play (or say "compile and play" :) solutions there
seems to not exist.
If there are any "third party" ports of STL to cfront, I
(and maybe many other) would like happy to hear about,
thanx.
--
-- <A HREF="http://www.lut.fi/~hevi/">The Page</A> --
Author: pmoore@cix.compulink.co.uk ("Paul Moore")
Date: Tue, 21 Feb 1995 20:31:21 GMT Raw View
I have a copy of the STL which I picked up via FP from somewhere. I'm
not sure if it's up to date. Where would I get the latest version?
Also, will STL work with a CFront 3.0 based C++ compiler? I will
shortly be getting my hands on such a compiler, and I'd like to use
STL, if possible.
Thanks,
Paul Moore (pmoore@cix.compulink.co.uk)
--
------------------------------------------------------------------------
Paul Moore (pmoore@cix.compulink.co.uk) |
------------------------------------------------------------------------
Author: pgreen@csn.org (Phillip Green)
Date: Fri, 28 Oct 1994 13:10:41 GMT Raw View
Fergus Henderson (fjh@munta.cs.mu.OZ.AU) wrote:
: stepanov@cello.hpl.hp.com (Alex Stepanov) writes:
: >A newer version of STL (multiple minor bug-fixes) is available by
: >anonymous ftp from butler.hpl.hp.com.
All I get when ftp'ing to this is, site not known???
--
Phil Green
pgreen@csn.org
Author: stepanov@cello.hpl.hp.com (Alex Stepanov)
Date: 21 Oct 1994 18:01:31 -0700 Raw View
A newer version of STL (multiple minor bug-fixes) is available by
anonymous ftp from butler.hpl.hp.com.
Author: fjh@munta.cs.mu.OZ.AU (Fergus Henderson)
Date: Mon, 24 Oct 1994 08:10:16 GMT Raw View
stepanov@cello.hpl.hp.com (Alex Stepanov) writes:
>A newer version of STL (multiple minor bug-fixes) is available by
>anonymous ftp from butler.hpl.hp.com.
Is there a list of the bugs which were fixed?
--
Fergus Henderson - fjh@munta.cs.mu.oz.au
Author: stepanov@cello.hpl.hp.com (Alex Stepanov)
Date: 20 Sep 1994 18:50:52 -0700 Raw View
A minor release of STL with a few bug fixes and newly revised document
is available through anonymous ftp from butler.hpl.hp.com
(192.6.19.31) in /stl/sharfile.Z or (for PC users) stl.zip.