However there is a major drawback to it and is why you'll still need to use a struct and that is you can't take a pointer to it.
Re: Challenge: Make a data type for holding one of 8 directions allowing increment and overflow
Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn Sat, 16 Mar 2024 20:11:40 -0700
Bit fields are currently going through the DIP process, although because
of ImportC having it, its just a matter of turning them on and adding
the parser stuff.
- Re: Challenge: M... Salih Dincer via Digitalmars-d-learn
- Re: Challenge: M... Basile B. via Digitalmars-d-learn
- Re: Challen... Salih Dincer via Digitalmars-d-learn
- Re: Challenge: M... Daniel N via Digitalmars-d-learn
- Re: Challen... Liam McGillivray via Digitalmars-d-learn
- Re: Cha... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn