H
Hicham Mouline
Hi
I have a class template Foo with 10 non-static member methods.
Foo needs to be partially specialized because the implementation of some
(perhaps 2 or 3) of the methods in
the primary template is not appropriate for the specialized template.
I made the partially specialized template inherit from the primary template
in order to use the primary implementations
for the 7 methods and the specialized implementations for the other 3
methods.
All the methods of the primary template, that is the base class, are now
non-pure virtual.
Other ways to do this?
rds,
I have a class template Foo with 10 non-static member methods.
Foo needs to be partially specialized because the implementation of some
(perhaps 2 or 3) of the methods in
the primary template is not appropriate for the specialized template.
I made the partially specialized template inherit from the primary template
in order to use the primary implementations
for the 7 methods and the specialized implementations for the other 3
methods.
All the methods of the primary template, that is the base class, are now
non-pure virtual.
Other ways to do this?
rds,