phobos/std/range
Paul Backus d15e19fc44 Fix issue 19544 - Can't call inputRangeObject on ranges not supported by moveFront
The range algorithms moveFront, moveBack, and moveAt do not accept all
valid input ranges, bidirectional ranges, and random-access ranges,
respectively. Their inclusion as methods of the InputRange,
BidirectionalRange, and RandomAccessFinite interfaces previously caused
InputRangeObject, which implements those interfaces, to fail to compile
when instantiated with certain valid input, bidirectional, and
random-access ranges.

These methods should not have been included in their respective
interfaces to begin with, but removing them now would break existing
code. Instead, as a workaround, InputRangeObject now implements these
methods by throwing an exception if the wrapped range does not support
them.
2021-09-29 20:35:30 -04:00
..
interfaces.d Fix issue 19544 - Can't call inputRangeObject on ranges not supported by moveFront 2021-09-29 20:35:30 -04:00
package.d std.range: make unittests reproducible when -boundscheck=off is present 2021-08-29 23:06:28 +00:00
primitives.d Merge pull request #6905 from WalterBright/save-doc 2021-04-22 22:14:59 +08:00