
On 26 August 2011 10:33, Michael Goldshteyn
Likewise, making the growth multiplier for vector configurable via a template argument would be the other boon in such a container library. These two features (deque page / block size and vector multiplier config) should have been part of the STL to begin with. How many times have library vendors tweaked these two items? Why not let the developer choose his constants / coefficients at the time of class template instantiation?
1. The problem is that template arguments change the type. Do you really want
vector