On 18/07/19 07:41 +0200, François Dumont wrote:
As we adopted the sized deallocation in the new_allocator why not
doing the same in _Temporary_buffer<>.
* include/bits/stl_tempbuf.h
(__detail::__return_temporary_buffer): New.
(~_Temporary_buffer()): Use latter.
(_Temporary_buffer(_FIterator, size_type)): Likewise.
Tested w/o activating sized deallocation. I'll try to run tests with
this option activated.
As the manual says, it's enabled by default for C++14 and later.
Ok to commit ?
OK for trunk, thanks.