cpp/algorithm/ranges/return types/in found result

is a class template that provides a way to store an iterator and a boolean flag as a single unit.

Standard library
The following standard library functions use as the return type: