foreach and retro

Christophe Travert travert at phare.normalesup.org
Mon Jul 2 14:27:03 PDT 2012


"bearophile" , dans le message (digitalmars.D:171013), a écrit :
> It's not a bug, it's caused by how ranges like retro work. retro 
> yields a single item. In D you can't overload on return values, 

But you can overload OpApply.

-- 
Christophe


More information about the Digitalmars-d mailing list