[C++-sig] Exposing a template class

Pertti Kellomäki pk at cs.tut.fi
Fri May 18 20:42:50 CEST 2007


Roman Yakovenko wrote:
> It is not that clear what you want to do. Exposing instantiation of
> template class is not different from exposing non-template class.

I have a template class, whose three different instantiations
are used as base classes for some concrete classes. I was
wondering whether I could write a template that would expand
into the appropriate declarations for exposing a particular
instantiation. Just writing the wrapper struct as a template
would of course already go a long way.
-- 
Pertti



More information about the Cplusplus-sig mailing list