If addressof(x) == this
, does nothing; otherwise, merges the two sorted ranges [begin(), end())
and [x.begin(), x.end()).
The result is a range in which the elements
will be sorted in non-decreasing order according to the ordering defined by comp
is, for every iterator i
, in the range other than the first, the condition
comp(*i, *(i - 1))
will be false.
Pointers and references to the moved elements of x
now refer to those same elements
but as members of *this.
Iterators referring to the moved elements will continue to
refer to their elements, but they now behave as iterators into *this
, not into