Packing of Struct Fields

Per Nordlöw per.nordlow at gmail.com
Sat Oct 17 15:14:28 UTC 2020


On Saturday, 17 October 2020 at 13:42:46 UTC, Steven 
Schveighoffer wrote:
> I think it *should* be possible to do this, if it's not 
> already, just with pragmas. (i.e. pack T but not S).

Agree, a pragma, say `pragma(pack)`, to control this would be 
great to avoid the unsafe union hack.


More information about the Digitalmars-d-learn mailing list