May 26, 2004 RTTI bug | ||||
---|---|---|---|---|
| ||||
This is from another post. I'm just posting it here to bring big W's attention to it:
class Thing(T)
{
}
void main()
{
Thing!(int) thing = new Thing!(int);
printf("%.*s\n", thing.classinfo.name);
}
output:
Thing
Parhaps the output should really be:
Thing!(int)
If not why not?
--
-Anderson: http://badmama.com.au/~anderson/
|
Copyright © 1999-2021 by the D Language Foundation