When using std::map in c++, is it possible to store inherited classes as their \"base class\" in the map and still being able to call their overloaded methods? See this exam
No, you must store a pointer to the base class to get the polymorphical behavior. The way you do now will lead to slicing.