We have a list
std::list<int> list;
// fill part of the list with 5
list.push_back(5);
list.push_back(5);
list.push_back(5);
// fill part of the list with 10
list.push_back(10);
list.push_back(10);
list.push_back(10);
// iterator that starts with 5
std::list<int>::iterator iterFiveBegin = list.begin();
//
std::list<int>::iterator iterEnd = list.end();
How can I get the iterator std::list<int>::iterator iterTenBegin
of the list where it starts with "10"?