www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10872] New: Typedef and const


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

--- Comment #0 from John Colvin <john.loughran.colvin 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: -------
Aug 22 2013