Object.factory failed with nested class

Eyyub eyyub.pangearaion at gmail.com
Sun Feb 12 15:43:52 PST 2012


On Sunday, 12 February 2012 at 23:33:26 UTC, Timon Gehr wrote:
> In theory it could work for only static local classes, but that 
> does not work too. It is an arbitrary restriction. Classes 
> instantiated by Object.factory must reside at module scope.

Mmh, ok I understood !

Thanks a lot for your help !

Bye.




More information about the Digitalmars-d-learn mailing list