From 63174be55d221580395933bf7773684eeb9182d2 Mon Sep 17 00:00:00 2001 From: Edward Catmur Date: Tue, 11 Jul 2017 12:28:07 +0100 Subject: [PATCH] Document set::extract and multiset::extract. --- include/boost/container/set.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/boost/container/set.hpp b/include/boost/container/set.hpp index 6f7f6ff..8730b1c 100644 --- a/include/boost/container/set.hpp +++ b/include/boost/container/set.hpp @@ -688,6 +688,12 @@ class set //! Complexity: log(size())+N where N is the distance from first to last. iterator erase(const_iterator first, const_iterator last); + //! @copydoc ::boost::container::map::extract(const_iterator) + node_type extract(const_iterator p); + + //! @copydoc ::boost::container::map::extract(const key_type&) + node_type extract(const key_type& x); + //! Effects: Swaps the contents of *this and x. //! //! Throws: Nothing. @@ -1298,6 +1304,12 @@ class multiset //! @copydoc ::boost::container::set::erase(const_iterator,const_iterator) iterator erase(const_iterator first, const_iterator last); + //! @copydoc ::boost::container::multimap::extract(const_iterator) + node_type extract(const_iterator p); + + //! @copydoc ::boost::container::multimap::extract(const key_type&) + node_type extract(const key_type& x); + //! @copydoc ::boost::container::set::swap void swap(multiset& x) BOOST_NOEXCEPT_IF( allocator_traits_type::is_always_equal::value