bitfields

bearophile bearophileHUGS at lycos.com
Thu Jun 18 07:06:47 PDT 2009


Jarrett Billingsley:
> Practically speaking, sure.  Most C compilers will take the path of
> least resistance and just pack all the bitfields together as tightly
> as they can starting with the LSB, and that is - AFAIK - what
> std.bitmanip's bitfield support does.  But there are no guarantees.

This is good place where to use lot of D unittests.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list