4 ms·
When compiling some code that uses this inheritance hierarchy you might only have access to the source code of the parent class and create child classes via fac
by cjfd 2y ago
When compiling some code that uses this inheritance hierarchy you might only have access to the source code of the parent class and create child classes via factory functions that return a pointer to the base class. If the parent class does not contain the default parameter values, you have no way of knowing them.