Re: [PATCH] libstdc++: LWG 3286 ranges::size is not required to be valid after ...

2020-03-10 Thread Jonathan Wakely via Gcc-patches
On 09/03/20 14:17 -0400, Patrick Palka wrote: ... a call to ranges::begin on an input range. This implements LWG 3286. The new wording for the single-argument subrange::subrange constructor is implemented by splitting the constructor into two delegating constructors, one constrained by _S_store

[PATCH] libstdc++: LWG 3286 ranges::size is not required to be valid after ...

2020-03-09 Thread Patrick Palka
... a call to ranges::begin on an input range. This implements LWG 3286. The new wording for the single-argument subrange::subrange constructor is implemented by splitting the constructor into two delegating constructors, one constrained by _S_store_size and the other by !_S_store_size. Tested o