Did you know the following code compiles? > module test; > > import std.stdio; > > void Assert(bool cond, string delegate()[] dgs...) { > debug if (!cond) { > string str; > foreach (dg; dgs) str ~= dg(); > throw new Exception(str); > } > } > > void main() { > Assert(false, "O hai thar! "); > }
It's true! :)