------- Comment #2 from jwakely dot gcc at gmail dot com  2009-06-22 14:38 
-------
See http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#103 

"For associative containers where the value type is the same as the key type,
both iterator and const_iterator are constant iterators. It is unspecified
whether or not iterator and const_iterator  are the same type."

Also, http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#322

The libstdc++ behaviour is correct


-- 

jwakely dot gcc at gmail dot com changed:

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


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

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to