I have a C++ class with two member variables
std::map<int, Node*> a;
and
std::set<Node*> b;
A style checker used at my University requires all member variables to be initialized in the constructor of the class. How can these member variables a and b be initialized to empty in the constructor of the class they are in?
Like this: