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


klickverbot <c...@klickverbot.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |c...@klickverbot.at


--- Comment #9 from klickverbot <c...@klickverbot.at> 2011-12-10 05:23:02 PST 
---
(In reply to comment #6)
> There are two solutions:
> 1. Makes that instantiation invalid.
> 2. Promote signed integer template value parameter into unsigned.
> 
> My patch implements #2, and I believe that is correct.
> Because non-suffix integer literal can implicitly convertible to unsigned.
> 
> And, my patch doesn't break existing code around template overloading.

I agree. For an integer _value_ (and this is what we are talking about here),
distinguishing between 3 and 3u just makes no sense.

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

Reply via email to