Typedef.Typedef

Undocumented in source.
  1. enum Typedef;
    template Typedef(T, istring name, T initval)
    enum Typedef = ("static struct " ~ name ~ "{ " ~ "alias IsTypedef = void;" ~ T.stringof ~ " value = " ~ initval.stringof ~ ";" ~ "alias value this;" ~ "this(" ~ T.stringof ~ " rhs) { this.value = rhs; }" ~ " }");
  2. template Typedef(T, istring name)

Meta