Re: Extend usage of C++11 direct init in __debug::vector

2018-10-16 Thread Jonathan Wakely
On 16/10/18 10:20 +0100, Jonathan Wakely wrote: On 15/10/18 22:45 +0200, François Dumont wrote: On 10/15/2018 12:10 PM, Jonathan Wakely wrote: On 15/10/18 07:23 +0200, François Dumont wrote: This patch extend usage of C++11 direct initialization in __debug::vector and makes some calls to opera

Re: Extend usage of C++11 direct init in __debug::vector

2018-10-16 Thread Jonathan Wakely
On 15/10/18 22:45 +0200, François Dumont wrote: On 10/15/2018 12:10 PM, Jonathan Wakely wrote: On 15/10/18 07:23 +0200, François Dumont wrote: This patch extend usage of C++11 direct initialization in __debug::vector and makes some calls to operator - more consistent. Note that I also rewrot

Re: Extend usage of C++11 direct init in __debug::vector

2018-10-15 Thread François Dumont
On 10/15/2018 12:10 PM, Jonathan Wakely wrote: On 15/10/18 07:23 +0200, François Dumont wrote: This patch extend usage of C++11 direct initialization in __debug::vector and makes some calls to operator - more consistent. Note that I also rewrote following expression in erase method: -      re

Re: Extend usage of C++11 direct init in __debug::vector

2018-10-15 Thread Jonathan Wakely
On 15/10/18 07:23 +0200, François Dumont wrote: This patch extend usage of C++11 direct initialization in __debug::vector and makes some calls to operator - more consistent. Note that I also rewrote following expression in erase method: -      return begin() + (__first.base() - cbegin().base()