Re: called copy constructor in foreach with ref on Range
kinke via Digitalmars-d-learn Sun, 21 Jun 2020 13:30:48 -0700
A foreach over a custom range makes an initial copy, so that the
original range is still usable after the foreach (not empty).
- called copy constructor in foreac... Rogni via Digitalmars-d-learn
- Re: called copy constructor ... kinke via Digitalmars-d-learn
- Re: called copy construc... Jonathan M Davis via Digitalmars-d-learn
- Re: called copy construc... kinke via Digitalmars-d-learn
- Re: called copy cons... Jonathan M Davis via Digitalmars-d-learn
- Re: called copy cons... kinke via Digitalmars-d-learn
- Re: called copy ... Jonathan M Davis via Digitalmars-d-learn
- Re: called copy ... kinke via Digitalmars-d-learn
- Re: called ... Jonathan M Davis via Digitalmars-d-learn
- Re: called copy ... Stanislav Blinov via Digitalmars-d-learn
- Re: called ... H. S. Teoh via Digitalmars-d-learn
- Re: cal... Jonathan M Davis via Digitalmars-d-learn