Re: sized delete in _Temporary_buffer<>

2019-07-19 Thread François Dumont
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

RE: sized delete in _Temporary_buffer<>

2019-07-19 Thread Morwenn Ed
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<>

Re: sized delete in _Temporary_buffer<>

2019-07-18 Thread Jonathan Wakely
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(

sized delete in _Temporary_buffer<>

2019-07-17 Thread François Dumont
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