Could you show an exact code that fails?

sure!
auto EnumToSelect(Enum)(string Name = __traits(identifier,Enum)) if (is(Enum==enum)) {
        
        foreach (i,Item;[__traits(allMembers,Enum)]) {
                else
form_string ~= "\toption(value='"~Item~"') "~__traits(getMember,Enum,Item)~"\n";
        }
        debug import std.stdio;
        debug writeln(form_string);
        return form_string;
}

Reply via email to