DIP: add Bit Fields
Timon Gehr
timon.gehr at gmx.ch
Sat Mar 16 21:40:31 UTC 2024
On 3/7/24 05:26, Walter Bright wrote:
> https://github.com/WalterBright/documents/blob/master/bitfields.md
Still not a fan of this potentially not being portable between different
compilers implementing the C calling convention on the same platform.
But let's put that aside for a moment.
Let's say D bitfields are stored in memory in a non-portable way. How
would a serialization library detect via introspection that these are
bitfields and serialize them accordingly (in a portable way)?
In general, how to introspect on bitfields?
More information about the dip.development
mailing list