static code generation p2

js.mdnq js_adddot+mdng at gmail.com
Wed Dec 12 17:09:26 PST 2012


Take the example here:

http://forum.dlang.org/thread/vrupqijwqmccdpabmken@forum.dlang.org

note how he provides the body of the method in the mixin. I would 
like to something similar to what he has done but provide the 
body of the mixin after the fact(so to speak).

Something like

class Test {
   mixin make_method!(Test)

}


More information about the Digitalmars-d-learn mailing list