DIP: add Bit Fields

Walter Bright newshound2 at digitalmars.com
Fri Mar 8 19:28:30 UTC 2024


On 3/8/2024 1:02 AM, Arafel wrote:
> In that case, why not have the best of both worlds and have `extern(D)` (the 
> default, well-defined, perhaps `std.bitmanip`-compatible) and `extern(C)` bit 
> fields, like with classes and C++?

Not a bad idea, but it may be confusing which one is in play, as the extern(C) 
can be far removed from its effect.


More information about the dip.development mailing list