Fixes a bug in which pop_back did not call the deleted item's destructor. Using the most general erase() implementation to implement all the others prevents similar bugs because the coupling between deallocation and destructor invocation only needs to be maintained in one place. Also reduces duplication of complex memmove logic.pull/262/head
parent
73fc922ed6
commit
1e2c29f263
Loading…
Reference in new issue