stringof Bug?

0ffh spam at frankhirsch.net
Fri Oct 19 08:38:38 PDT 2007


Don Clugston wrote:
> Something I've noticed is that x.stringof and (x).stringof are 
> completely different. So (T!(1)).stringof is something else I'd try.

I can second that. I remember once I had a templated struct and
needed sizeof. "(StructT!(int)).sizeof" worked for me while the
"StructT!(int).sizeof" didn't. Maybe "." binds closer than "!"?

Regards, Frank



More information about the Digitalmars-d mailing list