Actually ucb/source/inc/regexpmap.tpt is including explicit template instantiations and the original template haeder is included in more than one source although ucb/source/inc/regexpmap.tpt is included in only one. If another code use exactly the same instantiation, it will be a case of concern. I think we should move implementation out of anonymous namespace also for this case but I have not tested yet.

Since RegexpMap<Val> is only used in a single place today instantiated as RegexpMap<ProviderList_Impl> (providermap.hxx), abstracting over Val could be dropped for good, making RegexpMap (renamed to ProviderMap_Impl) a simple class, moving it (and any necessary helper classes, which also simplify from templates to plain classes) from regexpmap.tpt to providermap.hxx. Maybe something along those lines would be the best choice to simplify the code...

-Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to