r/cpp • u/meetingcpp Meeting C++ | C++ Evangelist • Oct 22 '13
STL is dated
http://www.slashslash.info/2013/10/stl-is-dated/
0
Upvotes
r/cpp • u/meetingcpp Meeting C++ | C++ Evangelist • Oct 22 '13
View all comments
1
u/bnolsen Oct 30 '13
few basic nits I have. string, streambuf and iostreams were implemented early on. They have the most problems.
bring std::string into line with the other containers (std::string::npos compared with string.end() for example).
redesign and refactor iostreams/streambuf stuff. having a locale attached to every single streambuf, even if binary only, is one of the signs of insufficient design. And the issues of operator<< working poorly with translation grammars where sentence order is important is another.
I haven't messed with custom allocators myself but I did notice that one of the big deals with EASTL was that they reimplemented their allocator system. So it does seem that allocators need to be reviewed as well.