Wouldn't this be better with bitfields?
Walter Bright
newshound2 at digitalmars.com
Mon Jul 8 23:29:15 UTC 2024
On 7/7/2024 3:21 AM, claptrap wrote:
> D should not be adding language features that change their specification
> depending on what external C compiler happens to be attached to the project.
It always has - from its inception the struct member layout and alignment
matches what C does. D needs to be a useful programming language, and effortless
compatibility with C data layout makes it much more useful.
More information about the Digitalmars-d
mailing list