Re: [PATCH] libstdc++: Define C++20 range utilities and range factories

2019-11-19 Thread Jonathan Wakely
On 19/11/19 08:51 +, Jonathan Wakely wrote: On 19/11/19 09:38 +0100, Stephan Bergmann wrote: On 17/11/2019 02:07, Jonathan Wakely wrote: This adds another chunk of the header. The changes from P1456R1 (Move-only views) and P1862R1 (Range adaptors for non-copyable iterators) are included,

Re: [PATCH] libstdc++: Define C++20 range utilities and range factories

2019-11-19 Thread Jonathan Wakely
On 19/11/19 09:38 +0100, Stephan Bergmann wrote: On 17/11/2019 02:07, Jonathan Wakely wrote: This adds another chunk of the header. The changes from P1456R1 (Move-only views) and P1862R1 (Range adaptors for non-copyable iterators) are included, but not the changes from P1870R1 (forwarding-rang

Re: [PATCH] libstdc++: Define C++20 range utilities and range factories

2019-11-19 Thread Stephan Bergmann
On 17/11/2019 02:07, Jonathan Wakely wrote: This adds another chunk of the header. The changes from P1456R1 (Move-only views) and P1862R1 (Range adaptors for non-copyable iterators) are included, but not the changes from P1870R1 (forwarding-range is too subtle). The tests for subrange and iota

[PATCH] libstdc++: Define C++20 range utilities and range factories

2019-11-16 Thread Jonathan Wakely
This adds another chunk of the header. The changes from P1456R1 (Move-only views) and P1862R1 (Range adaptors for non-copyable iterators) are included, but not the changes from P1870R1 (forwarding-range is too subtle). The tests for subrange and iota_view are poor and should be improved.