[Issue 5473] New: Members of const-qualified classes are not const themselves.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 21 16:07:07 PST 2011


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

           Summary: Members of const-qualified classes are not const
                    themselves.
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: eatingstaples at gmail.com


--- Comment #0 from eatingstaples at gmail.com 2011-01-21 16:05:06 PST ---
Created an attachment (id=875)
Code demonstrating the issue

An object typed as const will have const members, and a class declared as const
will have const members, but a class typed as const does not have const
members.

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