Bill Baxter: > ret ~= "\t$ReturnType!(t).stringof splitFuncs(methodstr)[i](" > It would at least look a bit nicer than > ret ~= "\t"~ReturnType!(t).stringof ~" "~splitFuncs(methodstr)[i]~"("; > with all the ~" "~ everywhere.
Currently you can do (I think it doesn't work well in D2 now): import std.metastrings: Format; ... ret ~= Format!("\t %s %s(", ReturnType!(t).stringof, splitFuncs(methodstr)[i]); Bye, bearophile