[Issue 3449] const and invariant struct members do not behave according to spec

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 29 15:08:10 PDT 2009


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


Stewart Gordon <smjg at iname.com> changed:

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


--- Comment #1 from Stewart Gordon <smjg at iname.com> 2009-10-29 15:08:09 PDT ---
(In reply to comment #0)
> and in the case of const it is even considered well-defined 
> behaviour to change their value after casting them to non-const.

What bit of the spec is this?  Are you sure you aren't confusing D with C(++)?

But the rest of what you say is probably right.

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