C
Capstar
Hi NG,
Is it possible to make a template class, which has only one method that
makes use of the template type. The rest of the methods will work on the
base class of which the template type should always be derived.
I want the template to have a compile-time check of the type, but I
don't want a "full" template class because all generic methods will be
generated for every type I use this class with, which is a waste of
resources.
Thanks in advance,
Mark
Is it possible to make a template class, which has only one method that
makes use of the template type. The rest of the methods will work on the
base class of which the template type should always be derived.
I want the template to have a compile-time check of the type, but I
don't want a "full" template class because all generic methods will be
generated for every type I use this class with, which is a waste of
resources.
Thanks in advance,
Mark