I have set of a struct.
struct Neighbour
{
int ID;
int Left;
int Right;
}
set<NodeNeighbour>NextDoor;
How do I find an item in this set were ID=='number to search'?
With a straigth forward set one can find an item simply with set.find(). Is there something simular for searching a set of struct?
Thx in advance