[Bug libstdc++/54577] deque<T>::erase() still takes iterator instead of const_iterator

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Fri Sep 14 09:41:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54577

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jwakely.gcc at gmail dot
                   |                            |com

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-09-14 09:41:04 UTC ---
Yes, yes, probably we should update the docs about this, it's a known issue,
true for the ordered containers too (when a const_iterator is actually !=
iterator)



More information about the Gcc-bugs mailing list