I've written a very handy assertf method whose signature looks like this:

void assertf(Args...)(lazy bool condition, in string message, Args args)

But I'd also like to access the caller's file and line to use them in constructing a thrown AssertError, and I'm stumbling on how I can get that information where it needs to go. Help?

Reply via email to