Simen kjaeraas napisał: > enum X { A=3, B=1, C } > > void main( ) { > foreach( e; __traits(allMembers, X) ) { > writeln( "X.", e, " = ", mixin( "X."~e ) ); > } > } mixin("X."~e) => __traits(getMember, X, e) For mixin-allergics. -- Tomek