Bitfields?

Marc Schütz via Digitalmars-d digitalmars-d at puremagic.com
Fri Dec 30 06:06:06 PST 2016


On Friday, 30 December 2016 at 13:45:23 UTC, Martin wrote:
> Are there any C-like bitfields in D?
>
> Yes - How can I use them?
> No - What could be used in their stead?

Not built-in, but in the standard library:

https://dlang.org/phobos/std_bitmanip.html#.bitfields


More information about the Digitalmars-d mailing list