[LC++]GCC and the Standard Template Libraries
Alain
alainbe at free.fr
Sun Aug 19 07:15:33 UTC 2001
\sJeudi 16 Août 2001 18:00, ho-peus skrivet :
> > Fair enough. I'm only going to be using what's in the Strousup Book
> > anyway so I won't even know about the extensions...
>
> I forgot to mention that the new GNU STL is based upon the SGI STL if you
> take a look at sgi.com you can find there a very complete
> documentation.. just if you dont use things marked as "extensions" you can
> be very sure you are OK with the ISO standard.
>
The day gcc 3.0 was released, I checked the page (forgot the address) where
STL compliance was described.
Everything was _not_ ISO compliant. <valarray> , for example, was described
as "broken" and in fact examples of the Stroustrup book didn't compile and
did compile with SGI 's STL.
If you really need standard compliance, installation of SGI 's STL is really
easy, don't modify _anything_ to your current gcc installation. You just have
to tell gcc where to look for headers in the makefile. I strongly recommand
it.
Alain
--
An gwenn hewen am laouenas
More information about the tuxCPProgramming
mailing list