It is possible to change the comparison method of a std::map after it has been created and initialized?
Or maybe only after it has been created??
I want to alter somehow the behavior of a class that contains a map that I cannot change the definition. I want to change it’s comparison behavior maybe by passing another map.
Maybe it is possible, this is untested:
Have tested, and it is possible to do the above, however changing the comparison function if there are items in the tree can be disastrous…
Anyway – it all sounds too fishy….