Size of abstract class
Posted
by webgenius
on Stack Overflow
See other posts from Stack Overflow
or by webgenius
Published on 2010-04-14T07:53:57Z
Indexed on
2010/04/14
8:03 UTC
Read the original article
Hit count: 260
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?
© Stack Overflow or respective owner