Possible @property compromise
Steven Schveighoffer
schveiguy at yahoo.com
Thu Jan 31 15:05:14 PST 2013
On Thu, 31 Jan 2013 17:54:21 -0500, Steven Schveighoffer
<schveiguy at yahoo.com> wrote:
> Also note that structs are not meant to have internal pointers. So a
> "property" struct with an internal pointer
Forgot to finish this sentence before I hit send.
So a "property" struct with an internal pointer would have to be modified
when a copy of the struct is made. But this is bad, structs are supposed
to be movable WITHOUT updating anything.
-Steve
More information about the Digitalmars-d
mailing list