Why does is the RandomAccessInfinite interface not a valid RandomAccessRange?

Bastiaan Veelo Bastiaan at Veelo.net
Sun Dec 19 13:59:21 UTC 2021


On Sunday, 19 December 2021 at 09:19:31 UTC, D Lark wrote:

> Do you know if there's a nightly version I can specify to use 
> your fix?

Are you inheriting from `RandomAccessInfinite`? Then you can 
probably add
```d
static if (__VERSION__ < 2099)
     enum bool empty = false;
```
to make it work.

— Bastiaan.


More information about the Digitalmars-d-learn mailing list