foreach (i; 0..5) {
immutable int j = i;
etc.
}
I want each j to be assigned separate memory so that it can be
passed to a calle function and not overwritten by next value of i
in foreach()??
- A new instance of a variable? Ish via Digitalmars-d-learn
- Re: A new instance of a ... Alex Parrill via Digitalmars-d-learn
- Re: A new instance o... Ish via Digitalmars-d-learn
- Re: A new instan... Marc Schütz via Digitalmars-d-learn
- Re: A new in... Ish via Digitalmars-d-learn
- Re: A new instan... anonymous via Digitalmars-d-learn
- Re: A new instance of a ... Steven Schveighoffer via Digitalmars-d-learn
