Why does inputRangeObject fail to derive correctly for RandomAccessInfinite ranges?

Paul Backus snarwin at gmail.com
Wed Jul 13 01:40:43 UTC 2022


On Wednesday, 13 July 2022 at 01:23:35 UTC, D Lark wrote:
> First, please can someone clarify if the behaviour I expect in 
> the last line is consistent with the intention of the library?

Yes, it should behave the way you expect. The current behavior is 
a bug.

I've submitted a report for it here: 
https://issues.dlang.org/show_bug.cgi?id=23242


More information about the Digitalmars-d-learn mailing list