On 12/21/10, Simen kjaeraas <[email protected]> wrote: > It would still use Object's toString, as member functions would be > tested for first. > > -- > Simen >
I'm talking about the case where Object's toString function doesn't exist (in some future release of D), but is replaced with writeTo or some alternate name. In that case your old code could still compile by adding this toString template.
