[Issue 1861] .sort fails if opCmp takes ref param

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 22 12:08:18 PST 2008


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


bugzilla at digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #1 from bugzilla at digitalmars.com  2008-02-22 14:08 -------
According to http://www.digitalmars.com/d/arrays.html, the parameter to a
struct's opCmp() must be S or S*, not ref S.


-- 



More information about the Digitalmars-d-bugs mailing list