[Issue 3449] const and invariant struct members do not behave according to spec
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Nov 24 04:14:58 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=3449
--- Comment #8 from Stewart Gordon <smjg at iname.com> 2011-11-24 04:14:00 PST ---
(In reply to comment #7)
> I believe the correct solution is to make const/immutable fields with
> initializers into static members.
Changing this would alter the memory layout of the struct, thereby breaking
code that interfaces (for example) a C API or a binary file format.
--
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