DIPX: Enum Literals / Implicit Selector Expression

Elronnd elronnd at elronnd.net
Fri Dec 3 04:25:06 UTC 2021

On Friday, 3 December 2021 at 02:38:18 UTC, Dave P. wrote:
> Where this really shines are with bit flags.

Bitflags are a case where 'with' _does_ work.

More generally, I'm sceptical of the feature for the reasons 
Dennis and Paul mention; there is clearly some advantage wrt 
boilerplate in some cases, but not for bitflags.

More information about the Digitalmars-d mailing list