July 13, 2022 [Issue 23243] std.range.isInfinite should accept ranges with non-static empty methods | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23243 Paul Backus <snarwin+bugzilla@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |23242 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=23242 [Issue 23242] InputRangeObject derived from RandomAccessInfinite is not a random-access range -- | ||||
July 13, 2022 [Issue 23243] std.range.isInfinite should accept ranges with non-static empty methods | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23243 Paul Backus <snarwin+bugzilla@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #1 from Paul Backus <snarwin+bugzilla@gmail.com> --- On second thought, this is not possible, because (1) we cannot check the return value of .empty for all possible instances of R, and (2) even if .empty returns false for every instance tested, we can never be sure it will not return true for some other instance we did not test. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply