Topic: STL and what is a problem with it?


Author: "Jordanas Kriauciunas" <joskis@xxx.lt>
Date: Fri, 19 Jul 2002 17:01:16 GMT
Raw View
Hello,

I have found written in many places, what STL is very unportable accross the
compilers and platforms.

I would like to ask what excacly is not portable? Is it just what some
compilers support STL and another does not?

And if both supports, does they do exacly what they need to do (strings
handles strings, vectors handles vectors and etc.) or they do it different
way. And it couses the program to fail?

Any document with such a description would be very nice to have.

Also, does anybody tryed to solve such problems by using STLport as STL not
the STL provided by compiler?

Thanks in advance,
joskis



---
[ 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://www.jamesd.demon.co.uk/csc/faq.html                       ]





Author: "parksie ;-\)" <bwaarkboktimmay@parksie.net>
Date: Sun, 21 Jul 2002 04:25:34 GMT
Raw View
Some compiler vendors don't follow the standards closely enough, which is
why there are efforts such as STLport and P. J. Plauger's Dinkumware
library.

At present, from what I've used, VC++ 7 and GCC 3 seem to have the best
support for all of the things in the STL.

The main problems are new templates not being supplied, language features
not available (such as partial specialisation of templates, etc.).

"Jordanas Kriauciunas" <joskis@xxx.lt> wrote in message
news:3d37e637@news.takas.lt...
> Hello,
>
> I have found written in many places, what STL is very unportable accross
the
> compilers and platforms.
>
> I would like to ask what excacly is not portable? Is it just what some
> compilers support STL and another does not?
>
> And if both supports, does they do exacly what they need to do (strings
> handles strings, vectors handles vectors and etc.) or they do it different
> way. And it couses the program to fail?
>
> Any document with such a description would be very nice to have.
>
> Also, does anybody tryed to solve such problems by using STLport as STL
not
> the STL provided by compiler?
>
> Thanks in advance,
> joskis
>
>
>
> ---
> [ 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://www.jamesd.demon.co.uk/csc/faq.html                       ]
>


---
[ 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://www.jamesd.demon.co.uk/csc/faq.html                       ]