id summary reporter owner description type status milestone component version severity resolution keywords cc 8069 Boost unordered_map iterator bug Karalis Apostolos Daniel James "The documentation (http://www.boost.org/doc/libs/1_53_0/doc/html/boost/unordered_map.html) states that mapped_type& operator[](key_type const& k) function can invalidate iterators, but only if the insert causes the load factor to be greater to or equal to the maximum load factor. In particular, this does not happen. I have written a simple test for this. I compare boost::unordered_map with std::tr1::unordered_map. The former does not guarantuees that iterators are still valid if the insert DOES NOT cause the load factor to be greater to or equal to the maximum load factor. I run tests with g++4.7.2 and boost 1.53." Bugs closed To Be Determined unordered Boost 1.53.0 Problem invalid