strVec iterator it std lower_bound warned begin warned end mess if it

1
2
3
4
strVec::iterator it = std::lower_bound(warned.begin(), warned.end(), mess);
if(it == warned.end() || *it != mess) {
}