On 9/5/11 4:20 AM, kenji hara wrote:
I think const void toString(scope void delegate(const(char)[]) sink,
string format = null); is more better than that, even if it is
different from DIP9.
That is already used in std.bigint, std.complex, and std.format
already support it.

Requiring only a scoped delegate certainly makes sense, but I'm not too sure about the name – to me, toString() suggests a function returning a string, not void.

David

Reply via email to