Getting the parameters of a struct/class constructor

mist none at none.none
Thu Jan 24 10:41:30 PST 2013


You can use "magic" functions __ctor and __dtor which actually 
serve as constructor and destructor implementations behind the 
scene.

Example and proof-of-concept: http://dpaste.1azy.net/fd924332

Have no idea if it is explicitly defined by spec somewhere though.


More information about the Digitalmars-d-learn mailing list