Size of abstract class
- by webgenius
How can I find the size of an abstract class?
class A
{
virtual void PureVirtualFunction() = 0;
};
Since this is an abstract class, I can't create objects of this class. How will I be able to find the size of the abstract class A using the 'sizeof' operator?