Accessing types by context
Hiemlick Hiemlicker via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jun 28 22:08:34 PDT 2016
On Wednesday, 29 June 2016 at 04:34:26 UTC, Chang Long wrote:
> 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
Does that even work? Regardless, You still have littered the code
with the same context.
More information about the Digitalmars-d
mailing list