<Ev********@googlemail.comwrote in message
news:11*********************@b75g2000hsg.googlegro ups.com...
If I have a map<double,double>, how do I delete the item whose
"second" value is X ?
I've always wanted a map with more than one index, but it's not in the
standard. So, with a standard map: iterate though the members til you find
the one with the second value of x, delete it. There may be an algorithm to
find it easier, but I don't generally use standard algorithms so can't tell
you. I would suspect if it existed it would have "find" somewhere in it.