You need to "new" class objects, they're not structures:

import std.stdio;
class TTest
{
   public void Info(T)(string name)
   {
      writeln(typeid(T), "\t", name);
   }
}
void main()
{
   TTest test = new TTest;
   test.Info!(uint)("one");
}

Hopefully you know what that means. :)

Thank you,afterC++is often overlooked.Sillymistake.:-)

Reply via email to