[Issue 4870] New: Suffix for intptr_t literals

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 14 21:03:33 PDT 2010


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

           Summary: Suffix for intptr_t literals
           Product: D
           Version: future
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: websites
        AssignedTo: nobody at puremagic.com
        ReportedBy: dfj1esp02 at sneakemail.com


--- Comment #0 from Sobirari Muhomori <dfj1esp02 at sneakemail.com> 2010-09-14 21:03:03 PDT ---
It's a common practice to use intptr_t-typed negative values. It would be handy
to have a suffix for such literals in order to not confuse anyone with implicit
sign-extending integer conversions and not use a cast at the same time.

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