const(Object)ref is here!

Andrej Mitrovic andrej.mitrovich at gmail.com
Tue Dec 21 11:17:08 PST 2010


On 12/21/10, Simen kjaeraas <simen.kjaras at gmail.com> 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.


More information about the Digitalmars-d mailing list