Getters/setters generator

Iakh via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Fri Dec 9 04:52:25 PST 2016


mixin template GenerateFieldAccessorMethods()
{
     static enum GenerateFieldAccessorMethods()
     {
         string result = "";
         return result;
     }
}

Strange syntax


More information about the Digitalmars-d-announce mailing list