[Issue 9102] OutputRange should be ref parameter
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 20 05:59:48 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9102
Steven Schveighoffer <schveiguy at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |schveiguy at yahoo.com
--- Comment #2 from Steven Schveighoffer <schveiguy at yahoo.com> 2013-02-20 05:59:47 PST ---
This seems to be of a problem of CRC32, not ranges in general.
An output range passed by value must internally be a reference, or else there
is no point!
I propose we rename the put function to something else (ingest?), and create a
new CRC32OutputRange that wraps a pointer to a CRC32. CRC32OutputRange.put
will throw if the reference is null.
--
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