Georg Wrede wrote:
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: ", typeof(t)); This doesn't work, but you get the idea.
typeof(t).stringof -Lars
Georg Wrede wrote:
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: ", typeof(t)); This doesn't work, but you get the idea.
typeof(t).stringof -Lars