DIPX: Enum Literals / Implicit Selector Expression

TheGag96 thegag96 at gmail.com
Tue Jul 5 00:04:40 UTC 2022


On Monday, 4 July 2022 at 22:34:01 UTC, Walter Bright wrote:
> How do you distinguish an instance of an elem with the same 
> name as an element of the enum?

By the `#` in front, right? That makes it a literal, not a plain 
identifier.


More information about the Digitalmars-d mailing list