Re: latest STL
From: Ulrich Eckhardt (doomster_at_knuut.de)
Date: 08/19/03
- Next message: Ritesh: "How Can I get Client Machine's IP in PHP"
- Previous message: Noah Roberts: "Re: OPINION: What are the best Linux C++ IDE's out there?"
- In reply to: Shuo Xiang: "latest STL"
- Next in thread: André Pönitz: "Re: latest STL"
- Reply: André Pönitz: "Re: latest STL"
- Reply: Adam Fineman: "Re: latest STL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 19 Aug 2003 08:37:09 +0200
Shuo Xiang wrote:
> A few weeks ago I wasn't able to get a Euchre game compile on my
> computer because it had an outdated version of the STL vector which
> did not include the bound checking "at()" function which fulfills
> essentially the same task as the [] member operator.
>
> Since it is to my knowledge that the entire STL comes as a collection
> of header files only, is it possible to upgrade STL just by
> downloading the latest version of the respective header files (I'm
> most interested in stl_vector.h) ? Or do I have to upgrade gcc itself
> to 3.x?
The STL is not part of C++. The 'standard template library' was invented by
HP and made publicly available. You can still download a version from the
net.
It was also presented to the standards-comittee for standardization and
strongly influenced the template-containers in the stdlib. Every compiler
has an implementation thereof. But that's just to make sure we know what
we talk about.
> If a header file upgrade is possible, where do I find them (I believe
> HP makes them)
Nope. You might be able to replace the whole stdlib with e.g. STLport. You
also might be able to upgrade from GCC3.2.0 to 3.2.1 but that's about all.
Exchanging a single file with one from a completely different stdlib won't
work.
sorry&good luck
Uli
-- Questions ? see C++-FAQ Lite: http://parashift.com/c++-faq-lite/ first !
- Next message: Ritesh: "How Can I get Client Machine's IP in PHP"
- Previous message: Noah Roberts: "Re: OPINION: What are the best Linux C++ IDE's out there?"
- In reply to: Shuo Xiang: "latest STL"
- Next in thread: André Pönitz: "Re: latest STL"
- Reply: André Pönitz: "Re: latest STL"
- Reply: Adam Fineman: "Re: latest STL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|