opCast and std.conv.to

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Feb 22 05:41:34 PST 2015


On Sunday, 22 February 2015 at 13:15:31 UTC, Adam D. Ruppe wrote:
> to!string actually forwards to a special function, "string 
> toString() {}" which you'll need to implement and override from 
> the base class.

Thanks, that's good to know.
I was just wondering why my code wasn't working correctly.



More information about the Digitalmars-d-learn mailing list