bit fields

Dom DiSc dominikus at scherkl.de
Tue Feb 7 14:27:16 UTC 2023


Hello.

Bit fields were introduced in 101.0, but searching for them 
yields as first results:

"D does not support bit fields. If needed, they can be emulated 
with shift and mask operations, or use the std.bitmanip.bitfields 
library type."

"Bit fields are supported with the bitfields template."

and

"ImportC - There are many implementation defined aspects of C11 
bit fields. ImportC's behavior adjusts to match the behavior of 
the associated C compiler on the target platform."

But no mention that they are now available. Also the spec doesn't 
describe them.
Have they been removed again with 102.0 ?




More information about the Digitalmars-d mailing list