Georg Wrede:
> When creating templates, it is sometimes handy to print the type of 
> something. Is there a trivial way to print it?

writeln("Typeof T is: ", typeid(typeof(t)));

(Try alternatives of that with a dynamic type, like a class).

Bye,
bearophile

Reply via email to