Quote Originally Posted by tiliavirga
What's wrong with nested loops?
In themselves, nothing, except that in this case the std::find generic algorithm expresses the intent more clearly with a name and removes the need to break out of nested loops with a goto as the simpler break would suffice.