Possible @property compromise
Jonathan M Davis
jmdavisProg at gmx.com
Thu Jan 31 19:09:30 PST 2013
On Thursday, January 31, 2013 18:58:00 Steven Schveighoffer wrote:
> I'm pretty sure structs are forbidden to have internal pointers. They
> must be able to be moved without any post-processing.
Structs must be moveable. I believe that you can technically have a struct
with a pointer refering to one of its members, but if you do, it will break as
soon as your struct is moved (which _will_ happen).
- Jonathan M Davis
More information about the Digitalmars-d
mailing list