[Issue 1309] sorting arrays of structs is broken
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jul 17 13:57:09 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=1309
David Simcha <dsimcha at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dsimcha at yahoo.com
--- Comment #5 from David Simcha <dsimcha at yahoo.com> 2009-07-17 13:57:09 PDT ---
Technically this is a spec issue, but if that's the case the spec is so
unnecessarily restrictive that this really qualifies as a bona fide bug.
Furthermore, other forms of opCmp work for everything but builtin sort, so we
have an inconsistency here. IMHO the solution is to get rid of the (highly
inflexible and fairly slow) builtin sort altogether and, for convenience and
backwards compatibility, put std.algorithm.sort, along with a few other very
simple, frequently used things (reverse, min, max come to mind) in Object so
they're imported implicitly.
--
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