|
4240 | 4240 | \requires \tcode{position} is \tcode{before_begin()} or is a dereferenceable
|
4241 | 4241 | iterator in the range \range{begin()}{end()}.
|
4242 | 4242 | \tcode{get_allocator() == x.get_allocator()}.
|
4243 |
| -\tcode{\&x != this}. |
| 4243 | +\tcode{addressof(x) != this}. |
4244 | 4244 |
|
4245 | 4245 | \pnum
|
4246 | 4246 | \effects Inserts the contents of \tcode{x} after
|
|
4837 | 4837 | \begin{itemdescr}
|
4838 | 4838 | \pnum
|
4839 | 4839 | \requires
|
4840 |
| -\tcode{\&x != this}. |
| 4840 | +\tcode{addressof(x) != this}. |
4841 | 4841 |
|
4842 | 4842 | \pnum
|
4843 | 4843 | \effects
|
|
5041 | 5041 |
|
5042 | 5042 | \pnum
|
5043 | 5043 | \effects
|
5044 |
| -If \tcode{(\&x == this)} does nothing; otherwise, merges the two sorted ranges \tcode{[begin(), |
| 5044 | +If \tcode{addressof(x) == this}, does nothing; otherwise, merges the two sorted ranges \tcode{[begin(), |
5045 | 5045 | end())} and \tcode{[x.\brk{}begin(), x.end())}. The result is a range in which the elements
|
5046 | 5046 | will be sorted in non-decreasing order according to the ordering defined by \tcode{comp}; that
|
5047 | 5047 | is, for every iterator \tcode{i}, in the range other than the first, the condition
|
|
5052 | 5052 | \tcode{x}.
|
5053 | 5053 |
|
5054 | 5054 | \pnum
|
5055 |
| -\remarks Stable\iref{algorithm.stable}. If \tcode{(\&x != this)} the range \tcode{[x.begin(), x.end())} |
| 5055 | +\remarks Stable\iref{algorithm.stable}. If \tcode{addressof(x) != this}, the range \tcode{[x.begin(), x.end())} |
5056 | 5056 | is empty after the merge.
|
5057 | 5057 | No elements are copied by this operation. The behavior is undefined if
|
5058 | 5058 | \tcode{get_allocator() != x.get_allocator()}.
|
|
5062 | 5062 | At most
|
5063 | 5063 | \tcode{size() + x.size() - 1}
|
5064 | 5064 | applications of \tcode{comp} if
|
5065 |
| -\tcode{(\&x != this)}; |
| 5065 | +\tcode{addressof(x) != this}; |
5066 | 5066 | otherwise, no applications of \tcode{comp} are performed.
|
5067 | 5067 | If an exception is thrown other than by a comparison there are no effects.
|
5068 | 5068 | \end{itemdescr}
|
|
0 commit comments