http://d.puremagic.com/issues/show_bug.cgi?id=3715
--- Comment #3 from Tomasz SowiĆski <[email protected]> 2010-09-19 06:26:24 PDT --- (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: -------
