I have a map like this:
map<prmNode,vector<prmEdge>,prmNodeComparator> nodo2archi;
I need to have an identical copy of this map. How is the fast way to make this? I have tried this:
map<prmNode,vector<prmEdge>,prmNodeComparator> copiamap( nodo2archi );
but it doesn't work. The copiamap is empty. Thank you very much