Why must bitfields sum to a multiple of a byte?
monarch_dodra
monarchdodra at gmail.com
Tue Jul 31 04:45:28 PDT 2012
On Tuesday, 31 July 2012 at 00:44:16 UTC, Andrej Mitrovic wrote:
> On 7/31/12, Era Scarecrow <rtcvb32 at yahoo.com> wrote:
>> It assumes the largest type we can currently use which is
>> ulong
>
> Ah yes, it makes sense now. Thanks for the brain cereal. :p
I saw your bug report:
http://d.puremagic.com/issues/show_bug.cgi?id=8474
The bug is only when the field is EXACTLY 32 bits BTW. bitfields
works quite nice with 33 or whatever. More details in the report.
More information about the Digitalmars-d-learn
mailing list