mirror of
https://github.com/dlang/phobos.git
synced 2025-05-03 08:30:33 +03:00
![]() Previously, isInfinite!(RandomAccessInfinite!T) would always evaluate to false, because the 'empty' method inherited from InputRange could not be evaluated at compile time. Since isRandomAccessRange!R requires (isBidirectionalRange!R || isInfinite!R), this meant that RandomAccessInfinite!T was not recognized as a random-access range. |
||
---|---|---|
.. | ||
interfaces.d | ||
package.d | ||
primitives.d |