May 21, 2006 continuation - Using templates to switch interface implementation class | ||||
---|---|---|---|---|
| ||||
Sorry -- too fast ENTER :-) - please see my previous post for beginning... ------------- instancefactor.d module instancefactory; import instanceconfig; class ViewFactory(I) { mixin getInstance!(I); } ----------------- Problem is that when I add more definition to instanceconfig.d my solution doesn't work. How to: 1. Make my solution work, or 2. Make solution which will have similar architecture in D Regards Marcin Kuszczak (Aarti_pl) |
Copyright © 1999-2021 by the D Language Foundation