Denis Koroskin Wrote: > Looks like it can't sort the enum values at compile time. That's because > &foo and &bar are not known until codegen phase. That's another thing I'm meditating on. Why do we need any kind of ordering in enum types? Isn't it supposed to be the SET of possible values? Set containing not necessarily orderable elements?