2011/9/4 Andrei Alexandrescu <seewebsiteforem...@erdani.org>:
> There are suggestions to add this method to Object:
>
> void writeTo(void delegate(const(char)[]) sink, string format = null);

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.

Kenji Hara

Reply via email to