Get the type of 'alias this ='

Vladimirs Nordholm v at vladde.net
Wed Apr 4 16:00:41 UTC 2018


On Wednesday, 4 April 2018 at 15:57:19 UTC, Simen Kjærås wrote:
> On Wednesday, 4 April 2018 at 15:49:31 UTC, Vladimirs Nordholm 
> wrote:
>> if (is(T == A) || is(T == B) || is(T == Enum))
>
> if (is(T : Enum))
>
> --
>   Simen

Ah! Thanks a lot!


More information about the Digitalmars-d-learn mailing list