foreach() behavior on ranges

frame frame86 at live.com
Wed Aug 25 08:15:18 UTC 2021


On Tuesday, 24 August 2021 at 18:52:19 UTC, Alexandru Ermicioi 
wrote:

> Forward range exposes also capability to create save points, 
> which is actually used by foreach to do, what it is done in 
> java by iterable interface for example.

I know, but foreach() doesn't call save().




More information about the Digitalmars-d-learn mailing list