enum true, or 1

rikki cattermole rikki at cattermole.co.nz
Thu Jul 22 03:47:43 UTC 2021


On 22/07/2021 3:44 PM, Brian Tiffin wrote:
> What is the preferred syntax for simple on/off states?  Did I read that 
> D was moving to strictly 1 and 0 literals instead of true/false on/off 
> yes/no?

This is the first time I'm hearing about it, so almost certainly no.


More information about the Digitalmars-d-learn mailing list