.stringof does pretty much the same, but, unfortunately, there is no way to pass an expression to template/function without evaluating it.

Reply via email to