View mode: basic / threaded / horizontal-split · Log in · Help
November 18, 2010
Current status of toString in phobos
Hi,

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);

Thanks
Matthias
Top | Discussion index | About this forum | D home