On 3/1/2011 11:47 PM, Jonathan M Davis wrote:

I should also point out that there is absolutely no need to use template for
what you're trying to do. Just declare the constructor like so:

this(string message, string file = __FILE__, size_t line = __LINE__ Throwable
next = null) { ... }

You are absolutely right; silly me. I'd assumed that would pick up the file and line at the point of declaration...

Reply via email to