I have a function like below
void functionA(unordered_map<string, classA*>* arg1); I need to pass in
unordered_map<string, shared_ptr<classA>> How could I pass in the container with shared_ptr to the function which takes in a container of raw pointer? I am using C++0x here.
Thanks
functionA?functionAa template, so you could pass whatever kind of map fits the expected interface.