Accessing types by context

Chang Long via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 28 21:34:26 PDT 2016


On Wednesday, 29 June 2016 at 03:11:52 UTC, Hiemlick Hiemlicker 
wrote:
> test(myEnum.A | myEnum.B & myEnum.C).


I like this:
   myEnum.( A | B & C) == myEnum.A | myEnum.B & myEnum.C




More information about the Digitalmars-d mailing list