On Wednesday, 17 December 2014 at 01:49:14 UTC, aldanor wrote:
Wonder if this is doable within a single mixin template without using makeUnnamedProperty?

Sure, straight forward:

      mixin template makeProperty(T, string name, alias func) {
          mixin("T %s() @property { return func();
}".format(name));
      }

Reply via email to