News for hackers. Stuff that matters.
Re:Moving forward with work on the D language and foundation by vvanders on Friday August 28, 2015 @03:23PM (#10137379)
Did they ever fix the memory release semantics with std::vector?

Last time I looked std::vector::clear() wasn't required to release memory and caused a lot of headache when certain implementations wouldn't free the underlying memory.

I'm aware that the work around is to assign a new std::vector<T>() but that always felt like more of a hack then anything else.

There are no comments on this comment yet.