This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Remove debug local iterator bucket information
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: François Dumont <frs dot dumont at gmail dot com>
- Cc: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 20 Nov 2013 21:26:09 +0000
- Subject: Re: Remove debug local iterator bucket information
- Authentication-results: sourceware.org; auth=none
- References: <528D262B dot 2050407 at gmail dot com>
On 20 November 2013 21:14, François Dumont wrote:
>
> Ok to commit ?
>
> François
Yes, thanks.
Please just add something to the ChangeLog about the bit below removed
from safe_local_iterator.h
e.g.
(operator==): Remove duplicate check.
@@ -294,10 +289,6 @@
_M_message(__msg_compare_different)
._M_iterator(__lhs, "lhs")
._M_iterator(__rhs, "rhs"));
- _GLIBCXX_DEBUG_VERIFY(__lhs._M_can_compare(__rhs),
- _M_message(__msg_compare_different)
- ._M_iterator(__lhs, "lhs")
- ._M_iterator(__rhs, "rhs"));
_GLIBCXX_DEBUG_VERIFY(__lhs._M_in_same_bucket(__rhs),
_M_message(__msg_local_iter_compare_bad)
._M_iterator(__lhs, "lhs")