<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    <br>
    <blockquote
cite="mid:CAJ85NXDFuktSmQuNH6ODQDiYELkN_cWSx40c6nzTVrFbfcifhA@mail.gmail.com"
      type="cite">
      <pre wrap="">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. :)

</pre>
    </blockquote>
    <span class="Apple-style-span" style="color: rgb(51, 51, 51);
      font-family: arial,sans-serif; font-size: 16px; font-style:
      normal; font-variant: normal; font-weight: normal; letter-spacing:
      normal; line-height: normal; orphans: 2; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 2;
      word-spacing: 0px; background-color: rgb(245, 245, 245);"><span
        class="hps">Thank you,</span><span class="Apple-converted-space"> </span><span
        class="hps">after</span><span class="Apple-converted-space"> </span><span
        class="hps">C++</span><span class="Apple-converted-space"> </span><span
        class="hps">is often overlooked.</span><span
        class="Apple-converted-space"> </span><span class="hps">Silly</span><span
        class="Apple-converted-space"> </span><span class="hps">mistake.</span><span
        class="Apple-converted-space"> </span><span class="hps">:-)</span></span><br>
    <br>
  </body>
</html>