virtual templated functions?
Tom Lien
lient@mrs.umn.edu
Sun Jun 11 19:30:00 GMT 2000
I am trying to do something like this:
class Item {
template<class target_iter>
virtual void use(target_iter begin, target_iter end) = 0;
};
g++ says that this is an invalid use of 'virtual' in template declaration.
Is this a language limitation? Is it just not implemented yet? If this
is an impossible feature is there a workaround or alternative that could
serve my needs as well?
Thanks
-------------------------------------------------
Tom Lien
http://www.mrs.umn.edu/~lient --The Funk Palace
How's My Programming? Call 1-800-DEV-NULL
More information about the Gcc
mailing list