T
Tom
Hi,
I need some help with stl maps.
I am using a std::map that is sorted in a very special way.
Therefore I am using my own sort function. That works fine.
But this is only half the problem. Additionally "map.find()" should
use a different comparison function.
My map is like:
map < myString, Whatever>
As far as I know "find" uses operators from the key (myString).
Therefore I wrote my own operator== ,operator< and operator>
Nothing worked. Does anybody know which comparison
function uses "find" or know any other solution while
using std functionality ?
thanks a lot T.
I need some help with stl maps.
I am using a std::map that is sorted in a very special way.
Therefore I am using my own sort function. That works fine.
But this is only half the problem. Additionally "map.find()" should
use a different comparison function.
My map is like:
map < myString, Whatever>
As far as I know "find" uses operators from the key (myString).
Therefore I wrote my own operator== ,operator< and operator>
Nothing worked. Does anybody know which comparison
function uses "find" or know any other solution while
using std functionality ?
thanks a lot T.