Brian Jones
August 7th, 2002, 12:33 PM
I was wondering what is the syntax, if there is any to inherit from a template class that has a pure virtual function
template <class base> class baseclass
{
void purevirtualfunc() =0;
int value;
};
class derivedclass : public "what is correct syntax?"
{
blah...
};
I have something like this in my program "class TestQueue : public Queue<QueueClass> Queue," but then I get "QueueQlass undeclared identifier."
template <class base> class baseclass
{
void purevirtualfunc() =0;
int value;
};
class derivedclass : public "what is correct syntax?"
{
blah...
};
I have something like this in my program "class TestQueue : public Queue<QueueClass> Queue," but then I get "QueueQlass undeclared identifier."