boostorg / container

STL-like containers from Boost
http://www.boost.org/libs/container/
Boost Software License 1.0
101 stars 113 forks source link

Allow reuse of buffer in reserve with v2 allocator #38

Closed palebedev closed 8 years ago

palebedev commented 8 years ago

allocationcommand uses expand{fwd,bwd} flags and its result is later compared with the old pointer, but the old pointer was not passed for reuse.

igaztanaga commented 8 years ago

Thanks for the patch.