4 ms·
It's not clear from the article, but I suspect the author is talking about what happens when the vector is resized and has to move existing elements, which is a
by DerDangDerDang 7y ago
It's not clear from the article, but I suspect the author is talking about what happens when the vector is resized and has to move existing elements, which is a real problem.
There are plans to solve this - http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1144r0.html http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p114...