Navigation/SomeSources.cpp (8 lines of code) (raw):
// 0. Go to File / Class / Symbol
// 1. Imports Hierarchy (Shift+Alt+H) on this file
// 2. Call Hierarchy (Ctrl+Alt+H) on colorBallCall
// 3. Type Hierarchy (Ctrl+H) on colorBall
#include "Ball.h"
#include <vector>
void doSmth() {
std::vector<soccerBall> v;
for (auto &&item : v) {
item.play();
}
}