digitalmars.D - std.string oversight: more radix toString functions
- Jarrett Billingsley (7/7) May 11 2005 For some reason, there are only custom-radix toString() functions define...
For some reason, there are only custom-radix toString() functions defined for long and ulong. This causes an ambiguity when you try to call toString() on something like an int, and it also causes things to be output with far more digits than expected (try toString(cast(long)-1,16u) - FFFFFFFFFFFFFFFF!). Is there any reason why there weren't versions for [u]int, [u]short, and [u]byte written?
May 11 2005