[Issue 9102] OutputRange should be ref parameter

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 24 10:08:38 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9102



--- Comment #10 from Nick Sabalausky <cbkbbejeap at mailinator.com> 2013-03-24 10:08:36 PDT ---
FWIW, This problem is *not* specific to CRC32. I've run into the same problem
with Appender. In fact, the problem will occur with *any* struct-based
OutputRange that does not specifically go out of its way to work around this
problem.

Furthermore, it makes absolutely no sense to pass ranges by value anyway since
doing so amounts to an implicit, ad-hoc and error-prone recreation of calling
'.save' - which isn't even sensible for non-ForwardRanges anyway.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list