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

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

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