[Issue 3288] conv.d : using to with const int or long fails to compile.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Sep 4 09:41:45 PDT 2009


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


HOSOKAWA Kenchi <hskwk at inter7.jp> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hskwk at inter7.jp




--- Comment #2 from HOSOKAWA Kenchi <hskwk at inter7.jp>  2009-09-04 09:41:44 PDT ---
(In reply to comment #1)
(maybe) more better patch:

2575:    auto u = -cast(Unqual!(Unsigned!S)) value;

Just you need is removing qualifier from S.
std.traits.Unqual is the best way to do it.

-- 
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