[Issue 10959] std.algorithm.remove is highly bug-prone

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 10 07:28:05 PDT 2013


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



--- Comment #4 from daniel350 at bigpond.com 2013-09-10 07:28:02 PDT ---
After 24 hours of thinking about it, I've come to agree with your statement. My
original sentiment was that of likening std.algorithm.remove to its look-alike
http://www.cplusplus.com/reference/algorithm/remove.
I also saw the slice level purity of the operation as being an attractive
quality, however, given the majority of the range interfaces in D are mutating
by default, I see no reason why the behavior of this function should be
different.

To which end, I now agree on all points. Sorry, I'll hope you forgive me.

+1.

-- 
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