Denis <[email protected]> wrote:
On Sun, Oct 10, 2010 at 12:54 AM, Simen Kjaeraas
<[email protected]> wrote:
Andrei Alexandrescu <[email protected]> wrote:
* "this(string msg, string file = __FILE__, size_t line = __LINE__,
Throwable next = null) nothrow" -> the __FILE__ and __LINE__ are
useless
(they are yours, not your caller's). You need to make them template
parameters to work, see other places in Phobos. At least that's what I
recall. Walter?
You're wrong, they are replaced at call point.
I could swear it worked like Andrei said, but apparently it's not. Oh
well, we live and learn….
As could I, but I figured I'd check. Live and learn, indeed.
--
Simen
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos