T
Tony Johansson
Hello!
I'm reading in a book about C++ and they say that the class definition below
is abstract is that really true.
The definition of a class to be abstract is when at least one member is
defined as pure virtual and in this case we have no pure virtual members.
class AttributedObject
{
protected:
virtual ~AttributedObject();
};
AttributedObject::~AttributedObject()
{}
//Tony
I'm reading in a book about C++ and they say that the class definition below
is abstract is that really true.
The definition of a class to be abstract is when at least one member is
defined as pure virtual and in this case we have no pure virtual members.
class AttributedObject
{
protected:
virtual ~AttributedObject();
};
AttributedObject::~AttributedObject()
{}
//Tony