opApply/opApplyReverse return value types
Jarrett Billingsley
kb3ctd2 at yahoo.com
Wed Oct 18 12:25:49 PDT 2006
"BCS" <BCS at pathlink.com> wrote in message
news:eh5mvh$11t$7 at digitaldaemon.com...
>
> I would assume that the generated delegate different return value for each
> goto and the return;
By gum, you're right. I just tested it, and returning a bogus value causes
gotos from inside the foreach not to work. But returning the correct value
makes them work.
Would be nice if that were documented somewhere, though.
More information about the Digitalmars-d-learn
mailing list