У меня есть следующее определение класса:
template<typename QueueItemT>
class QueueBC
{
protected:
QueueBC() {}
virtual ~QueueBC() {}
private:
virtual IItemBuf* constructItem(const QueueItemT& item) = 0;
}
Я создал следующий подкласс:
class MyQueue
: public QueueBC<MyItemT>
{
public:
MyQueue() {}
virtual ~MyQueue() {}
};
Это прекрасно компилируется в VS2005, но я не реализовал constructItem()
в классе MyQueue
.Есть идеи почему?