On 3/5/13, cal <callumenator at gmail.com> wrote: > So why does this work: > > import std.conv; > > void main() > { > enum s = "`1`.to!int;"; > enum c = __traits(compiles, mixin("{auto x = "~s~";}")); // > true > } That's a function literal, i.e. an expression.