Information about the 'magic' field in object.Object class

Adam D. Ruppe destructionator at gmail.com
Thu Jan 16 14:32:24 UTC 2020


On Thursday, 16 January 2020 at 14:30:04 UTC, realhet wrote:
> Is there a documentation about that 'magic' field?

I'm pretty sure the only fields in there are pointer to vtable 
and pointer to monitor object...

> I have a really small object, only 32 bytes. At this point if I 
> want to add a flag bit I have 3 choices:

Do you need virtual functions? If not, you could probably just 
make a struct instead.


More information about the Digitalmars-d-learn mailing list