[Issue 11591] `std.typecons.Tuple`-s with classes fails at runtime as associative array keys

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 31 14:22:07 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11591


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com


--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> 2013-12-31 14:22:05 PST ---
This comes about because std.typecons.Tuple generates a struct but does not
generate an opCmp operator overload function for it. Actually, it does build an
opCmp, but as a template, whereas in clone.c buildXopCmp() looks for a function
named opCmp, not a template.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list