Date: Sun, 11 Oct 2026 18:55:17 +0200
Is it worth asking whether random-access sized but not-common ranges are still a corner case with `any_view`?
What about the path of enforcing commonness for random-access sized ranges by having `ranges::end` return `ranges::begin(r) + ranges::size(r)`?
> On 11 Oct 2026, at 17:34, Hewill Kang via Std-Proposals <std-proposals_at_[hidden]> wrote:
>
> https://cplusplus.github.io/LWG/issue4003
> <https://cplusplus.github.io/LWG/issue4003>
> This is not the design direction preferred by the LEWG.
>
>
> Daniel Pfeifer via Std-Proposals <std-proposals_at_[hidden] <mailto:std-proposals_at_[hidden]>> 於 2026年10月11日週日 下午8:47寫道:
>> While using `any_view`, I was surprised that `back()` cannot be made available with any combination of view options, because `view_interface::back()` is only provided for common views and `any_view` is never common.
>>
>> There is only a small change necessary: https://purplekarrot.github.io/wg21-papers/d0000.html
>>
>> Feedback or guidance how to proceed with that suggestion appreciated.
>> --
>> Std-Proposals mailing list
>> Std-Proposals_at_[hidden] <mailto:Std-Proposals_at_[hidden]>
>> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
What about the path of enforcing commonness for random-access sized ranges by having `ranges::end` return `ranges::begin(r) + ranges::size(r)`?
> On 11 Oct 2026, at 17:34, Hewill Kang via Std-Proposals <std-proposals_at_[hidden]> wrote:
>
> https://cplusplus.github.io/LWG/issue4003
> <https://cplusplus.github.io/LWG/issue4003>
> This is not the design direction preferred by the LEWG.
>
>
> Daniel Pfeifer via Std-Proposals <std-proposals_at_[hidden] <mailto:std-proposals_at_[hidden]>> 於 2026年10月11日週日 下午8:47寫道:
>> While using `any_view`, I was surprised that `back()` cannot be made available with any combination of view options, because `view_interface::back()` is only provided for common views and `any_view` is never common.
>>
>> There is only a small change necessary: https://purplekarrot.github.io/wg21-papers/d0000.html
>>
>> Feedback or guidance how to proceed with that suggestion appreciated.
>> --
>> Std-Proposals mailing list
>> Std-Proposals_at_[hidden] <mailto:Std-Proposals_at_[hidden]>
>> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
Received on 2026-10-11 16:55:34
