sed to new?
*De :* libstdc++-ow...@gcc.gnu.org de la
part de François Dumont
*Envoyé :* jeudi 18 juillet 2019 07:41
*À :* libstd...@gcc.gnu.org ; gcc-patches
*Objet :* sized delete in _Temporary_buffer<>
As we adopted the sized deallocation in the new_allocator why not d
bstdc++-ow...@gcc.gnu.org de la part de
François Dumont
Envoyé : jeudi 18 juillet 2019 07:41
À : libstd...@gcc.gnu.org ; gcc-patches
Objet : sized delete in _Temporary_buffer<>
As we adopted the sized deallocation in the new_allocator why not doing
the same in _Temporary_buffer<>
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(
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 ac