23 Jun
2017
23 Jun
'17
2:48 p.m.
Yet SG14 likes anything which relocates latency unpredictable things (exception throws, malloc, etc) to the caller. It's certainly how I'd have personally designed the STL originally. std::vector's latency insensitive design has always irritated me, and I still hope - without much basis - that any STL v2 will fix that.
If there is anything wrong with std::vector that isn't it.
There is a significant minority who want their containers to never, ever allocate memory on their own. Niall -- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/