[Issue 6472] RedBlackTree.removeKey
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Aug 11 21:05:24 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6472
Jonathan M Davis <jmdavisProg at gmx.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jmdavisProg at gmx.com
Severity|normal |enhancement
--- Comment #1 from Jonathan M Davis <jmdavisProg at gmx.com> 2011-08-11 21:05:21 PDT ---
t.removeKey!string("1");
I believe that this is a case of template inferrence failing, because it's
deciding that the input to removeKey is a range a dchars rather than a single
string, and you can't covert dchar to the element type of the container
(string), and so compilation fails. I don't know how fixable it is with
template constraints. Hopefully someone can sort it out, but it may be that the
compiler is just too stupid in this case.
--
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