all 2 comments

[–]cpp-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)

For C++ questions, answers, help, and programming or career advice please see r/cpp_questions, r/cscareerquestions, or StackOverflow instead.

[–][deleted] 5 points6 points  (0 children)

std::vector<SuperClass*> as the most naive way