https://issues.dlang.org/show_bug.cgi?id=11409
Andrei Alexandrescu and...@erdani.com changed:
What|Removed |Added
Version|unspecified |D2
--
http://d.puremagic.com/issues/show_bug.cgi?id=11409
Iain Buclaw ibuc...@ubuntu.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=11409
--- Comment #2 from daniel...@bigpond.com 2013-11-01 03:44:39 PDT ---
(In reply to comment #1)
Your assumption is not quite right. This is the loop comparisons goes off:
for (size_t u = 0; u len; u++)
{
int result = s1[u] - s2[u];
http://d.puremagic.com/issues/show_bug.cgi?id=11409
--- Comment #3 from daniel...@bigpond.com 2013-11-01 03:56:03 PDT ---
(In reply to comment #1)
Your assumption is not quite right. This is the loop comparisons goes off:
for (size_t u = 0; u len; u++)
{
int result = s1[u] - s2[u];
http://d.puremagic.com/issues/show_bug.cgi?id=11409
--- Comment #4 from Iain Buclaw ibuc...@ubuntu.com 2013-11-01 04:16:51 PDT ---
(In reply to comment #3)
(In reply to comment #1)
Your assumption is not quite right. This is the loop comparisons goes off:
for (size_t u = 0; u len; u++)
http://d.puremagic.com/issues/show_bug.cgi?id=11409
--- Comment #5 from daniel...@bigpond.com 2013-11-01 06:58:18 PDT ---
For others that may find this later.
The default comparison is the equivalent to a
http://www.cplusplus.com/reference/algorithm/lexicographical_compare/.
--
Configure