[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 10:42:05 PDT 2009


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


Andrei Alexandrescu <andrei at metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrei at metalanguage.com
         Resolution|                            |FIXED




--- Comment #3 from Andrei Alexandrescu <andrei at metalanguage.com>  2009-09-04 10:42:04 PDT ---
(In reply to comment #2)
> (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.

Fixed as you suggested, coming with 2.033. Thanks!

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