--- Comment #3 from Tomasz Sowiński <tomeks...@gmail.com> 2010-09-19 06:26:24
(In reply to comment #2)
> Yes, std.string.format uses varargs, not templates, so it can only do what the
> TypeInfo allows it to do. And the compiler will only store the function
> pointer to toString if it exactly matches the right signature.
OK, now I understand why it doesn't work, thanks. But how to get it working? In
real life toString() will often be const|pure|nothrow because of its nature.
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------