foreach, RefCounted and non-copyable range

Fynn Schröder fynnos at live.com
Tue Jan 19 10:25:59 UTC 2021


On Monday, 18 January 2021 at 18:57:04 UTC, vitamin wrote:
> You need something like RefCountedRange with methods popFront, 
> front, empty.

Thanks! refRange from std.range does the trick, indeed.


More information about the Digitalmars-d-learn mailing list