Object.factory() and module name

eles eles at eles.com
Fri Apr 26 10:02:01 PDT 2013


On Friday, 26 April 2013 at 16:13:44 UTC, Luís Marques wrote:
> BTW, I was working on a Object.factory scenario right now (!) 
> and stumbled on the limitation that the class can only have a 
> default constructor. Couldn't you call a non-default 
> constructor by passing var args to Object.factory()?

This too, seems a good idea, but let's the more experienced to 
decide.


More information about the Digitalmars-d mailing list