diff --git a/include/boost/intrusive/list.hpp b/include/boost/intrusive/list.hpp index 218c5fb..18c1a5c 100644 --- a/include/boost/intrusive/list.hpp +++ b/include/boost/intrusive/list.hpp @@ -1187,14 +1187,14 @@ class list_impl //! Effects: Removes adjacent duplicate elements or adjacent //! elements that are equal from the list. No destructors are called. //! - //! Throws: If std::equal_toThrows: If the comparison operator throws. Basic guarantee. //! //! Complexity: Linear time (size()-1 comparisons calls to pred()). //! //! Note: The relative order of elements that are not removed is unchanged, //! and iterators to elements that are not removed remain valid. void unique() - { this->unique_and_dispose(std::equal_to(), detail::null_disposer()); } + { this->unique_and_dispose(value_equal(), detail::null_disposer()); } //! Effects: Removes adjacent duplicate elements or adjacent //! elements that satisfy some binary predicate from the list. @@ -1216,7 +1216,7 @@ class list_impl //! elements that are equal from the list. //! Disposer::operator()(pointer) is called for every removed element. //! - //! Throws: If std::equal_toThrows: If the equality operator throws. Basic guarantee. //! //! Complexity: Linear time (size()-1) comparisons equality comparisons. //! @@ -1224,7 +1224,7 @@ class list_impl //! and iterators to elements that are not removed remain valid. template void unique_and_dispose(Disposer disposer) - { this->unique_and_dispose(std::equal_to(), disposer); } + { this->unique_and_dispose(value_equal(), disposer); } //! Requires: Disposer::operator()(pointer) shouldn't throw. //!