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


Steven Schveighoffer <schvei...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |schvei...@yahoo.com
         Resolution|                            |INVALID


--- Comment #1 from Steven Schveighoffer <schvei...@yahoo.com> 2011-04-18 
06:07:35 PDT ---
No.  It is valid.

value is allocated on the stack, or in TLS depending on where you declared it. 
Assigning it to the literal does not make it reference the actual literal data,
it just copies the data into the value.

In other words, changing an element of value does not change the immutable
memory that the literal refers to.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to