digitalmars.D.learn - continuation - Using templates to switch interface implementation class
- Marcin Kuszczak (17/17) May 21 2006 Sorry -- too fast ENTER :-) - please see my previous post for beginning....
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)
May 21 2006








Marcin Kuszczak <aarti interia.pl>