On 4/11/11, Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org> wrote:
> template YesOrNo(string name)
> {
> mixin("enum "~name~" : bool { no, yes }");
> }
>
> void someFunction(YesOrNo!"SomeOption") { }
How exactly would this work? I can't compile it.