Class instance alignment

kinke noone at nowhere.com
Mon Feb 22 08:16:35 UTC 2021


On Monday, 22 February 2021 at 02:23:27 UTC, Steven Schveighoffer 
wrote:
> Hm... but does TypeInfo detail alignment?

Apparently not for TypeInfo_Class; .talign() returns the 
alignment of a class *ref*, i.e., pointer size. 
TypeInfo_Struct.talign() does return the struct alignment though 
and could be used to select a larger bin size.


More information about the Digitalmars-d-learn mailing list