Merge Operation
In this lesson, we'll learn different ways of combining ranges.
We'll cover the following...
Merge operations empower us to merge sorted ranges in a new sorted range. The merge
algorithm requires that the ranges and the algorithm use the same sorting criteria. If not, the program is undefined. Per default, the predefined sorting criterion std::less
is used. If we use our sorting criterion, it has to obey the strict weak ordering. If not, the program is ...