Click here to Skip to main content
15,885,056 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Comments
Sunasara Imdadhusen 29-Nov-10 6:24am    
did you used Google?

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
 
Share this answer
 
Comments
p569354158 29-Nov-10 23:48pm    
very thanks!^_^
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.
 
Share this answer
 
Comments
Sauro Viti 1-Dec-10 6:20am    
Good call!
You should read the documentation of STLport and see what they say is the advantage of using it over standard STL.
 
Share this answer
 
Comments
p569354158 29-Nov-10 23:48pm    
thanks,,_Superman_
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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900