Index: boost/container/vector.hpp =================================================================== --- boost/container/vector.hpp (revision 85125) +++ boost/container/vector.hpp (working copy) @@ -1709,7 +1709,7 @@ const_iterator first1(x.cbegin()), first2(y.cbegin()); const const_iterator last1(x.cend()); for (; first1 != last1; ++first1, ++first2) { - if (!(*first1 != *first2)) { + if (!(*first1 == *first2)) { return false; } }