Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++
hello
someone say that STLport is better than Standard STL offer by visual studio,ture or false?
 
And I want to know the advantage of STLport.
thanks
Posted 28-Nov-10 23:58pm
Comments
Sunasara Imdadhusen at 29-Nov-10 6:24am
   
did you used Google?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Hi,
 
There is no such thing as standard STL. There is a compiler provided Standard C++ Library and the standard lets the compilers authors provide it with whichever implementation they want as long as it meets the standard requirements.
 
At a time where most compilers provided only a part of the Standard C++ Library, STLport provided a single implementation of STL (a subset of the Standard C++ Library) compiling on most of that time available C++ compilers.
 
Nowadays, all C++ compilers provide the full Standard C++ Library so STLport is widely obsolete.
 
cheers,
AR
  Permalink  
Comments
p569354158 at 29-Nov-10 23:48pm
   
very thanks!^_^
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

If your using VC6, the standard STL provided is NOT threadsafe. We had issues due to it sharing variables between allocations in the std::string calls which would eventually lead to memory corruption.
 
Changing to StlPort solved all these issues.
 
See http://support.microsoft.com/kb/813810[^] for details.
  Permalink  
Comments
Sauro Viti at 1-Dec-10 6:20am
   
Good call!
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You should read the documentation of STLport and see what they say is the advantage of using it over standard STL.
  Permalink  
Comments
p569354158 at 29-Nov-10 23:48pm
   
thanks,,_Superman_
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

You did not specify which version of Visual Studio you have in mind. STLPort was better for VC++ 6.0 and older, but not today.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web01 | 2.8.140926.1 | Last Updated 1 Dec 2010
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100