I have a class in C++ with the following member:
map< someEnum, vector<SomeObject*>* > someMap
So I have a map that gives me a vector of objects for each enumeration I have. For the life of me, I cannot understand how C++ is initializing these objects. Does it deep initialize them by default? If not, what do I need to do?
I'm getting segmentation faults no matter how I try to do this (and I have tried everything), so I'm guessing I'm missing something conceptually.
I should note that I tried to use:
map< someEnum, vector<SomeObject*> > someMap
as well and that didn't work as well. In this case, does C++ deep-initialize the vector?