www.digitalmars.com         C & C++   DMDScript  

D - uint.toString would be nice to have (and for other types as well, of course)

reply "Matthew" <matthew.hat stlsoft.dot.org> writes:

Apr 24 2004
parent Andy Friesen <andy ikagames.com> writes:
Either that or this be added to phobos:

char[] toString(Object o) {
    return o.toString();
}

Then anything can be string-ized with the global toString function.

  -- andy
Apr 25 2004