stringof Bug?

Don Clugston dac at nospam.com.au
Fri Oct 19 06:01:27 PDT 2007


Janice Caron wrote:
> Do we count this as a bug, or not?
> 
>     class T(int N)
>     {
>     }
> 
>     writefln(T!(1).stringof);
> 
> This writes "T", not "T!(1)".

> So, is that a real bug, or are my expectations just too high?

There are quite a few stringof bugs. I think this one hasn't been reported before.
BTW, did you try typeof(T!(1)).stringof ?



More information about the Digitalmars-d mailing list