Do you guys use STLport?
What are the benefits?
Should I consider using it?
Thanks for help
Do you guys use STLport?
What are the benefits?
Should I consider using it?
Thanks for help
Are you unsatisfied with the standard library provided by your compiler? Do you need any of the additional features STLPort provides? Then you should consider using it.
If not, just stay with your compiler's default standard library. Nothing special is required to use that.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
I'm satisfied with the standard libary, but I wouldnt bother additional features..
I looked on their website about STLport features. However, I didnt quite get it..
Is there any particular reason that would make it better than standard libary?
Such as portability? Is efficiency much better? Maybe anything else?
You would have to compare. Portability is not much of an issue, unless the lib you're using has bugs. As for the features, rope can be useful for special applications; other than that, I don't see anything terribly useful that isn't in Boost or TR1.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
The C++ standards committee approved of several libraries and additions to existing libraries, many of which came from boost, and called it Technical Report 1 (or TR1). The point was to agree on items that will almost certainly be in the next standard, but to do so early so people can start using them now and be relatively sure that they won't change much when they are actually standardized.
For example, the previous standard lacked hash maps because they just couldn't agree on the details in time. TR1 has what will likely be the standard hash maps (called unordered_map).
http://en.wikipedia.org/wiki/Technical_Report_1
Most of the stuff in TR1 can be gotten from Boost, and I think Dinkumware has a more complete implementation (possibly for a fee). I'm not sure if other libraries have implemented any parts of TR1.
The GNU libstdc++ has a lot of this stuff implemented, including the unordered containers, function, bind and more.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
When can we expect new standard to come out?
I think the most likely date is sometime in '09 (since it's called C++0x it's supposed to be released before 2010 in any case)
"Think not but that I know these things; or think
I know them not: not therefore am I short
Of knowing what I ought."
-John Milton, Paradise Regained (1671)
"Work hard and it might happen."
-XSquared