[Issue 4251] Hole in the const system: immutable values can be overwritten (const(T) is appendable to const(T)[])
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jun 16 20:22:48 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4251
--- Comment #12 from yebblies <yebblies at gmail.com> 2011-06-16 20:18:02 PDT ---
(In reply to comment #9)
> (In reply to comment #5)
> >>> immutable(T*)** => const(T*)** allowed, same number of mutable indirections
>
> As it turns out, this is unsafe, as the following code shows:
>
Good catch! I'll get on it.
--
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