Re: Make vector iterator operators hidden friends

2019-05-11 Thread François Dumont
On 5/10/19 3:59 PM, Jonathan Wakely wrote: On 10/05/19 14:40 +0100, Jonathan Wakely wrote: On Thu, 9 May 2019 at 06:49, François Dumont wrote: Hi Patch similar to the one I just apply for deque iterator including NRVO copy ellision fix. * include/bits/stl_bvector.h (operator==

Re: Make vector iterator operators hidden friends

2019-05-10 Thread Jonathan Wakely
On 10/05/19 14:40 +0100, Jonathan Wakely wrote: On Thu, 9 May 2019 at 06:49, François Dumont wrote: Hi Patch similar to the one I just apply for deque iterator including NRVO copy ellision fix. * include/bits/stl_bvector.h (operator==(const _Bit_iterator_base&, const _Bit_itera

Re: Make vector iterator operators hidden friends

2019-05-10 Thread Jonathan Wakely
On Thu, 9 May 2019 at 06:49, François Dumont wrote: > > Hi > > Patch similar to the one I just apply for deque iterator including > NRVO copy ellision fix. > > * include/bits/stl_bvector.h > (operator==(const _Bit_iterator_base&, const _Bit_iterator_base&)): > Make hidden friend

Make vector iterator operators hidden friends

2019-05-08 Thread François Dumont
Hi     Patch similar to the one I just apply for deque iterator including NRVO copy ellision fix.     * include/bits/stl_bvector.h     (operator==(const _Bit_iterator_base&, const _Bit_iterator_base&)):     Make hidden friend.     (operator<(const _Bit_iterator_base&, const _Bit_iterator_base&