How do I make my class iterable?
Ali Çehreli via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jun 22 09:52:13 PDT 2015
On 06/22/2015 09:37 AM, q66 wrote:
> use opApply.
Yes. Additionally, an InputRange interface can be used:
http://ddili.org/ders/d.en/foreach_opapply.html
Ali
More information about the Digitalmars-d-learn
mailing list