Challenge: Make a data type for holding one of 8 directions allowing increment and overflow

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Sun Mar 17 03:07:33 UTC 2024


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.

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.


More information about the Digitalmars-d-learn mailing list