Do class methods increase the size of the class instances?
Only instance data increases the size of instances of a class (in all implementations that I know of), except that if you add virtual functions or inherit from a class with virtual functions then you take a one-time hit for a v-table pointer. Also, as someone else correctly mentions the minimum size of a class … Read more