continuation - Using templates to switch interface implementation class

Marcin Kuszczak aarti at interia.pl
Sun May 21 10:47:11 PDT 2006


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)



More information about the Digitalmars-d-learn mailing list