Hello, let's say I have an abstract class with a few pure abstract functions and a few classes that derive from it, and all of the data from these classes eventually becomes similar, I was wondering if it would be wise, or even possible, to declare a vector under protected in the abstract class to collect the data so something like that.
class A
{
protected:
vector <string> ...READ MORE
Jul 27, 2022
in C++
by
Nicholas
• 7,760 points
•
395 views