[Qgis-developer] STL vs. Qt containers

Mateusz Loskot mateusz at loskot.net
Sat Oct 28 21:04:20 EDT 2006


Martin Dobias wrote:
> For these new containers there's no such note that it's good only for
>  platforms without STL.


Martin,
Can you point a platform with C++ compiler that does not support
C++ standard library?

STL *is* a part of C++ standard library and most major C++
compilers that are considered as C++ compliant provide STL elements.
There are some issues for example GCC has known portability problems,
but these are not critical for applications like QGIS.

Here is a list of supported compilers by Boost, a modern C++ library
that also uses C++ Standard Library quite much:

http://www.boost.org/more/getting_started.html#Tools

I can't see there any compiler missing that's used for QGIS.
I'm inclined to assume there is no compiler which does not
support C++SL/STL and is used by QGIS community.
If one uses a very old compiler that do not support STL
components well (like old VC++ 6.0), there is always STLport
(http://stlport.sourceforge.net)

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net



More information about the Qgis-developer mailing list