stl_deque.h (operator==(const _Deque_iterator<>&, const _Deque_iterator<>&)): Make...
authorFrançois Dumont <fdumont@gcc.gnu.org>
Thu, 9 May 2019 05:28:42 +0000 (05:28 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Thu, 9 May 2019 05:28:42 +0000 (05:28 +0000)
commitb2536b7c3de5aaaa18a5205a851d43059f868c57
tree2bb211761cda36ff88dab67257c3ae4121e10868
parent20a7c51dcaa17204b0a49f4f7b58454d0a0cefd2
stl_deque.h (operator==(const _Deque_iterator<>&, const _Deque_iterator<>&)): Make hidden friend.

2019-05-09  François Dumont  <fdumont@gcc.gnu.org>

* include/bits/stl_deque.h
(operator==(const _Deque_iterator<>&, const _Deque_iterator<>&)):
Make hidden friend.
(operator!=(const _Deque_iterator<>&, const _Deque_iterator<>&)):
Likewise.
(operator<(const _Deque_iterator<>&, const _Deque_iterator<>&)):
Likewise.
(operator<=(const _Deque_iterator<>&, const _Deque_iterator<>&)):
Likewise.
(operator>(const _Deque_iterator<>&, const _Deque_iterator<>&)):
Likewise.
(operator>=(const _Deque_iterator<>&, const _Deque_iterator<>&)):
Likewise.
(_Deque_iterator<>::operator+(difference_type)): Likewise and allow NRVO
copy elision.
(_Deque_iterator<>::operator-(difference_type)): Likewise.

From-SVN: r271027
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_deque.h