second draft: add Bitfields to D

Timon Gehr timon.gehr at gmx.ch
Mon Apr 29 12:07:51 UTC 2024


On 4/29/24 14:04, Timon Gehr wrote:
>>
>> Pointer to bitfields will work just the same as they do in C. I don't 
>> understand what you're asking for.
>> ...
> 
> Well, you can't take a pointer to a bitfield.

Forgot to fully answer this.

I am asking for example code how you would implement a function that 
gives you a "fat pointer" to a bitfield that lets you read and write 
from that bitfield.

It cannot be the same as in C, as I think this inherently requires 
introspection.


More information about the dip.development mailing list