I don't know what to put in the ??? spot. Here's the code:
class A
{
public:
A(std::vector <std::string> init);
}
class B
{
public:
B();
private:
A a;
}
B::B() : a(???)
{
}
If you want some background, class A is menu that takes a vector of button titles, and class B is the MenuState superclass that manages both menu and some additional stuff. Or it's just my design that is flawed?