Pb with template
poulard
poulard@actia.fr
Tue Dec 14 08:43:00 GMT 1999
Hi all,
sorry if it is not really the place to ask this
question but I have some pb with template specialization.
Assume I have a template class
template <class A, class B, class C>
class C_TheBaseClass
And now I want to make a partial-specialization with a typdef
fixing some template argument
like
template <class A = string, class B, class C = equal_to<string> >
[but this not in the definition of the C_TheBaseClass because
I want to make more than one with different specialization]
And I would like to use this new template class like
template <class B>
class C_ThePartial
**********************************************************
I tried several things, with typedef and template,
read the ANSI/ISO C++
but I have not the response
may you help me please.
Thx in advance
Herve
More information about the Gcc
mailing list