Remove debug local iterator bucket information

François Dumont frs.dumont@gmail.com
Wed Nov 20 21:14:00 GMT 2013


Hi

     At the time of writing unordered container debug mode, local 
iterator didn't have the bucket information. Now they have so I would 
like debug mode to use it rather than duplicating the information.

2013-11-21  François Dumont  <fdumont@gcc.gnu.org>

     * include/debug/safe_local_iterator.h (_Safe_local_iterator<>):
     Remove _M_bucket, use same information in normal local_iterator.
     * include/debug/safe_local_iterator.tcc: Adapt.
     * include/debug/unordered_set: Likewise.
     * include/debug/unordered_map: Likewise.

Tested under Linux x86_64.

Ok to commit ?

François

-------------- next part --------------
A non-text attachment was scrubbed...
Name: safe_local_iterator.patch
Type: text/x-patch
Size: 12104 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20131120/6d960c15/attachment.bin>


More information about the Libstdc++ mailing list