kvark/copyless

VecAllocation should have an impl Drop

Closed this issue · 1 comments

Like BoxAllocation, VecAllocaton should have an impl Drop that removes the element that was added if no initialization happened.

kvark commented

No, VecAllocation doesn't need a drop. There is no element added that should be removed: all that's been done by that point is reservation change to the vector, which is fine to leave.