Prevent copy of range in foreach

Yuxuan Shui via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Aug 30 12:06:46 PDT 2016


Is there a way to use a range defined with disabled post-blit in 
foreach? In other words, is there a way to prevent foreach from 
copying the range?

Should I use move()?


More information about the Digitalmars-d-learn mailing list