[Issue 5690] Struct const member makes struct const

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 3 07:27:03 PST 2011


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


Stewart Gordon <smjg at iname.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |spec
                 CC|                            |smjg at iname.com


--- Comment #1 from Stewart Gordon <smjg at iname.com> 2011-03-03 07:24:09 PST ---
It only makes sense that it should make it const - to reassign the struct would
violate the constancy of the const member.  Though the MBNR approach (see issue
2625) would also work.

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