Bitfields?

Martin via Digitalmars-d digitalmars-d at puremagic.com
Fri Dec 30 06:23:51 PST 2016


On Friday, 30 December 2016 at 14:06:06 UTC, Marc Schütz wrote:
> 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

Thanks, will take a look now.


More information about the Digitalmars-d mailing list