[Issue 10872] New: Typedef and const

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Aug 22 15:55:26 PDT 2013


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

           Summary: Typedef and const
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: john.loughran.colvin at gmail.com


--- Comment #0 from John Colvin <john.loughran.colvin at gmail.com> 2013-08-22 23:55:25 BST ---
alias Typedef!(const(void*)) CVP;

CVP cvp; 

//Error: cannot modify const expression Typedef_payload

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