With not working with BitFlags

Dukc via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jan 20 01:15:13 PST 2017


On Friday, 20 January 2017 at 09:12:04 UTC, Dukc wrote:
> template EnumToFlags(E) if(is(E == enum))
> {
>     import std.traits, std.typecons, std.string;
>
>     //...
> }

I think that typecons import was needless, you could try removing 
it...




More information about the Digitalmars-d-learn mailing list