November 18, 2010

I'm currently using DMD v2.049 with phobos. I found an old discussion about how toString should be designed and how it is supposed to work. As the following code does not print out the number, I wonder what is the current status of how to implement a toString function for a struct/class:

| auto n = BigInt("42");
| writefln("%s", n);