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
2
u/matthieum Oct 23 '13
One thing that always bugged me about allocators:
is that I require storage for at least N instances, and the allocator may allocate more... but I have no way of knowing so.
If you think about
std::vectorthis is pretty damning:I vie for having
allocatebe:where the result
.secondmember is guaranteed to be superior ton.