import std.algorithm, std.stdio; void main() { //valid on dmd 2.011 //invalid on dmd 2.030 because inPlace is undefined inPlace!(writef)(cast(int[])[1,2,3]); } However std.algorithm.map requires a function that returns non-void value as a template parameter.