Automatic getter/setter generation

Lutger lutger.blijdestijn at gmail.com
Thu Oct 22 13:16:36 PDT 2009


Lutger wrote:
...
> 
> mixin var!(DefaultImplementation(int, "_name")
> mixin var!(LoggingImplementation(int, "_name")
> mixin var!(UndoRedoImplementation(int, "_name")

Sorry, these would be:

mixin var!(UndoRedoImplementation, int, "_name") etc.

where UndoRedoImplementation is an alias





More information about the Digitalmars-d-learn mailing list