Not able to load classes defined in archive file in Mac OSX using Object.factory

Aditya anlal at hotmail.com
Fri Nov 16 14:55:52 UTC 2018


On Friday, 16 November 2018 at 14:30:02 UTC, Adam D. Ruppe wrote:
> PS object.factory sucks and I hope it is removed some day. 
> There's no plan to do so, but I still wouldn't actually rely on 
> it... instead, I'd write your own factory function and 
> registration system, so you control it and will have 
> reliability to your specific needs.
>
> but still if the factory works for you, eh, you can use it.

How can one write own factory function ? Any pointers to this ?

Thanx


More information about the Digitalmars-d-learn mailing list