On 6/12/11 6:37 PM, Lloyd Dupont wrote: > mm... ok. > but why the line below doesn't compile? > > mixin(format("class %s {}", "A")); Because format presumably can't be interpreted at compile time (yet) – not all functions are necessarily CTFEable. David