[Issue 3132] std.string.split should be templated on mutable/const/immutable
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jul 8 10:59:29 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3132
--- Comment #3 from Steven Schveighoffer <schveiguy at yahoo.com> 2009-07-08 10:59:28 PDT ---
(In reply to comment #2)
> templating over constness is a partial solution for bug 1961
No. I specifically say that the template solution does not achieve what 1961
is striving for -- single implementation and guaranteed const handling of
parameters. See comment #15.
Conversely, 1961 would solve this bug pretty easily :P
inout(T)[] split(T)(inout(T) s);
(replace inout with keyword of choice used to implement 1961).
--
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