Re: Delegate, scope and associative array
Vlad Levenfeld via Digitalmars-d-learn Tue, 03 Jun 2014 00:21:04 -0700
I've run across this myself. The workaround I used was to call a
function from inside the foreach loop, and in that function you
construct the delegate (with the index variable passed as a
parameter).
- Delegate, scope and associati... Edwin van Leeuwen via Digitalmars-d-learn
- Re: Delegate, scope and ... Rene Zwanenburg via Digitalmars-d-learn
- Re: Delegate, scope ... Edwin van Leeuwen via Digitalmars-d-learn
- Re: Delegate, sc... Edwin van Leeuwen via Digitalmars-d-learn
- Re: Delegate, sc... Ali Çehreli via Digitalmars-d-learn
- Re: Delegate... Vlad Levenfeld via Digitalmars-d-learn
- Re: Del... Vlad Levenfeld via Digitalmars-d-learn
- Re: Delegate... Edwin van Leeuwen via Digitalmars-d-learn
- Re: Delegate... bearophile via Digitalmars-d-learn
- Re: Delegate, scope ... Steven Schveighoffer via Digitalmars-d-learn
- Re: Delegate, sc... via Digitalmars-d-learn