On Fri, 19 Nov 2010 10:22:29 +0100, Jacob Carlborg wrote:

> On 2010-11-18 23:21, Steven Schveighoffer wrote:
>>
>> I just created a new D Improvement Proposal to fix the toString problem
>> I brought up several posts ago.
>>
>> See: http://prowiki.org/wiki4d/wiki.cgi?LanguageDevel/DIPs/DIP9
>>
>> -Steve
> 
> Why do we have to remove toString, can't toString call writeTo and
> behave as it does now?

Nobody's forcing anyone to remove toString(), the point is that Phobos 
just won't be using it anymore.  Furthermore, std.conv.to!string() should 
be defined to call writeTo(), so you won't have to define both toString() 
and writeTo() for your types.

-Lars

Reply via email to