Or better: template EE(E0a, E0b) { const EE = "{ "~Ehelper(__traits(allMembers, E0a)) ~ ", " ~ Ehelper(__traits(allMembers, E0b)) ~ " }"; } mixin("enum E3 "~EE!(E1, E2)); -- Witold Baryluk MAIL: baryluk at smp.if.uj.edu.pl, baryluk at mpi.int.pl JID: movax at jabber.autocom.pl