Note: |
|---|
The class/parameter names in the prototype do not match the version in the header file. Some have been modified to improve readability.
|
The inplace_merge algorithm merges two sorted subsequences: [First..Middle) and [Middle..Last) in place into a single sorted sequence [First..Last). This version assumes that the ranges [First..Middle) and [Middle..Last) are sorted using the compare function. If both ranges contain equal values, the value from the first range will be stored first.