|
|
|
|
|
by phkahler
814 days ago
|
|
>>> 2. Poor encapsulation, adding private functions requires recompiling all dependents >> under what circumstances does (2) hold? To add a private member variable or function, you need to put it in the class definition in the header file. Then anything that includes the header needs to be recompiled. |
|
Thinking about that, is there any case in which private functions can end up in a vtable? In that case, it'd break ABI too.