use map to find object

I need to use a map [and possibly an iterator] to traverse a vector and change the priority of an object. Can someone explain how to do so?

First you need to find a map of the right vector. Once you do that you can look up the address of your object, get in your car, drive over and change it's priority.
I don't know how to implement a map and have it search through a vector. I understand the general idea, but not how to actually code it.
Generally, containers don't search containers.

I understand the general idea

Do tell.

Topic archived. No new replies allowed.