[SVN r76113]
This commit is contained in:
Ion Gaztañaga
2011-12-23 11:47:56 +00:00
parent e7bae62301
commit 336a1cc472
9 changed files with 32 additions and 50 deletions

View File

@@ -985,8 +985,6 @@ class deque : protected deque_base<T, A>
} }
//! <b>Effects</b>: Swaps the contents of *this and x. //! <b>Effects</b>: Swaps the contents of *this and x.
//! If this->allocator_type() != x.allocator_type()
//! allocators are also swapped.
//! //!
//! <b>Throws</b>: Nothing. //! <b>Throws</b>: Nothing.
//! //!

View File

@@ -436,7 +436,6 @@ class flat_map
} }
//! <b>Effects</b>: Swaps the contents of *this and x. //! <b>Effects</b>: Swaps the contents of *this and x.
//! If this->allocator_type() != x.allocator_type() allocators are also swapped.
//! //!
//! <b>Throws</b>: Nothing. //! <b>Throws</b>: Nothing.
//! //!
@@ -454,7 +453,7 @@ class flat_map
//! <b>Complexity</b>: Logarithmic search time plus linear insertion //! <b>Complexity</b>: Logarithmic search time plus linear insertion
//! to the elements with bigger keys than x. //! to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
std::pair<iterator,bool> insert(const value_type& x) std::pair<iterator,bool> insert(const value_type& x)
{ return container_detail::force<std::pair<iterator,bool> >( { return container_detail::force<std::pair<iterator,bool> >(
m_flat_tree.insert_unique(container_detail::force<impl_value_type>(x))); } m_flat_tree.insert_unique(container_detail::force<impl_value_type>(x))); }
@@ -469,7 +468,7 @@ class flat_map
//! <b>Complexity</b>: Logarithmic search time plus linear insertion //! <b>Complexity</b>: Logarithmic search time plus linear insertion
//! to the elements with bigger keys than x. //! to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
std::pair<iterator,bool> insert(BOOST_RV_REF(value_type) x) std::pair<iterator,bool> insert(BOOST_RV_REF(value_type) x)
{ return container_detail::force<std::pair<iterator,bool> >( { return container_detail::force<std::pair<iterator,bool> >(
m_flat_tree.insert_unique(boost::move(container_detail::force<impl_value_type>(x)))); } m_flat_tree.insert_unique(boost::move(container_detail::force<impl_value_type>(x)))); }
@@ -484,7 +483,7 @@ class flat_map
//! <b>Complexity</b>: Logarithmic search time plus linear insertion //! <b>Complexity</b>: Logarithmic search time plus linear insertion
//! to the elements with bigger keys than x. //! to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
std::pair<iterator,bool> insert(BOOST_RV_REF(impl_value_type) x) std::pair<iterator,bool> insert(BOOST_RV_REF(impl_value_type) x)
{ {
return container_detail::force<std::pair<iterator,bool> > return container_detail::force<std::pair<iterator,bool> >
@@ -501,7 +500,7 @@ class flat_map
//! <b>Complexity</b>: Logarithmic search time (constant if x is inserted //! <b>Complexity</b>: Logarithmic search time (constant if x is inserted
//! right before p) plus insertion linear to the elements with bigger keys than x. //! right before p) plus insertion linear to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
iterator insert(const_iterator position, const value_type& x) iterator insert(const_iterator position, const value_type& x)
{ return container_detail::force_copy<iterator>( { return container_detail::force_copy<iterator>(
m_flat_tree.insert_unique(container_detail::force<impl_const_iterator>(position), container_detail::force<impl_value_type>(x))); } m_flat_tree.insert_unique(container_detail::force<impl_const_iterator>(position), container_detail::force<impl_value_type>(x))); }
@@ -514,7 +513,7 @@ class flat_map
//! <b>Complexity</b>: Logarithmic search time (constant if x is inserted //! <b>Complexity</b>: Logarithmic search time (constant if x is inserted
//! right before p) plus insertion linear to the elements with bigger keys than x. //! right before p) plus insertion linear to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
iterator insert(const_iterator position, BOOST_RV_REF(value_type) x) iterator insert(const_iterator position, BOOST_RV_REF(value_type) x)
{ return container_detail::force_copy<iterator>( { return container_detail::force_copy<iterator>(
m_flat_tree.insert_unique(container_detail::force<impl_const_iterator>(position), boost::move(container_detail::force<impl_value_type>(x)))); } m_flat_tree.insert_unique(container_detail::force<impl_const_iterator>(position), boost::move(container_detail::force<impl_value_type>(x)))); }
@@ -527,7 +526,7 @@ class flat_map
//! <b>Complexity</b>: Logarithmic search time (constant if x is inserted //! <b>Complexity</b>: Logarithmic search time (constant if x is inserted
//! right before p) plus insertion linear to the elements with bigger keys than x. //! right before p) plus insertion linear to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
iterator insert(const_iterator position, BOOST_RV_REF(impl_value_type) x) iterator insert(const_iterator position, BOOST_RV_REF(impl_value_type) x)
{ {
return container_detail::force_copy<iterator>( return container_detail::force_copy<iterator>(
@@ -542,7 +541,7 @@ class flat_map
//! <b>Complexity</b>: At most N log(size()+N) (N is the distance from first to last) //! <b>Complexity</b>: At most N log(size()+N) (N is the distance from first to last)
//! search time plus N*size() insertion time. //! search time plus N*size() insertion time.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
template <class InputIterator> template <class InputIterator>
void insert(InputIterator first, InputIterator last) void insert(InputIterator first, InputIterator last)
{ m_flat_tree.insert_unique(first, last); } { m_flat_tree.insert_unique(first, last); }
@@ -560,7 +559,7 @@ class flat_map
//! <b>Complexity</b>: Logarithmic search time plus linear insertion //! <b>Complexity</b>: Logarithmic search time plus linear insertion
//! to the elements with bigger keys than x. //! to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
template <class... Args> template <class... Args>
iterator emplace(Args&&... args) iterator emplace(Args&&... args)
{ return container_detail::force_copy<iterator>(m_flat_tree.emplace_unique(boost::forward<Args>(args)...)); } { return container_detail::force_copy<iterator>(m_flat_tree.emplace_unique(boost::forward<Args>(args)...)); }
@@ -576,7 +575,7 @@ class flat_map
//! <b>Complexity</b>: Logarithmic search time (constant if x is inserted //! <b>Complexity</b>: Logarithmic search time (constant if x is inserted
//! right before p) plus insertion linear to the elements with bigger keys than x. //! right before p) plus insertion linear to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
template <class... Args> template <class... Args>
iterator emplace_hint(const_iterator hint, Args&&... args) iterator emplace_hint(const_iterator hint, Args&&... args)
{ return container_detail::force_copy<iterator>(m_flat_tree.emplace_hint_unique(container_detail::force<impl_const_iterator>(hint), boost::forward<Args>(args)...)); } { return container_detail::force_copy<iterator>(m_flat_tree.emplace_hint_unique(container_detail::force<impl_const_iterator>(hint), boost::forward<Args>(args)...)); }
@@ -1103,7 +1102,6 @@ class flat_multimap
{ return m_flat_tree.max_size(); } { return m_flat_tree.max_size(); }
//! <b>Effects</b>: Swaps the contents of *this and x. //! <b>Effects</b>: Swaps the contents of *this and x.
//! If this->allocator_type() != x.allocator_type() allocators are also swapped.
//! //!
//! <b>Throws</b>: Nothing. //! <b>Throws</b>: Nothing.
//! //!
@@ -1117,7 +1115,7 @@ class flat_multimap
//! <b>Complexity</b>: Logarithmic search time plus linear insertion //! <b>Complexity</b>: Logarithmic search time plus linear insertion
//! to the elements with bigger keys than x. //! to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
iterator insert(const value_type& x) iterator insert(const value_type& x)
{ return container_detail::force_copy<iterator>(m_flat_tree.insert_equal(container_detail::force<impl_value_type>(x))); } { return container_detail::force_copy<iterator>(m_flat_tree.insert_equal(container_detail::force<impl_value_type>(x))); }
@@ -1127,7 +1125,7 @@ class flat_multimap
//! <b>Complexity</b>: Logarithmic search time plus linear insertion //! <b>Complexity</b>: Logarithmic search time plus linear insertion
//! to the elements with bigger keys than x. //! to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
iterator insert(BOOST_RV_REF(value_type) x) iterator insert(BOOST_RV_REF(value_type) x)
{ return container_detail::force_copy<iterator>(m_flat_tree.insert_equal(boost::move(x))); } { return container_detail::force_copy<iterator>(m_flat_tree.insert_equal(boost::move(x))); }
@@ -1137,7 +1135,7 @@ class flat_multimap
//! <b>Complexity</b>: Logarithmic search time plus linear insertion //! <b>Complexity</b>: Logarithmic search time plus linear insertion
//! to the elements with bigger keys than x. //! to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
iterator insert(BOOST_RV_REF(impl_value_type) x) iterator insert(BOOST_RV_REF(impl_value_type) x)
{ return container_detail::force_copy<iterator>(m_flat_tree.insert_equal(boost::move(x))); } { return container_detail::force_copy<iterator>(m_flat_tree.insert_equal(boost::move(x))); }
@@ -1151,7 +1149,7 @@ class flat_multimap
//! is to be inserted before p) plus linear insertion //! is to be inserted before p) plus linear insertion
//! to the elements with bigger keys than x. //! to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
iterator insert(const_iterator position, const value_type& x) iterator insert(const_iterator position, const value_type& x)
{ return container_detail::force_copy<iterator>(m_flat_tree.insert_equal(container_detail::force<impl_const_iterator>(position), container_detail::force<impl_value_type>(x))); } { return container_detail::force_copy<iterator>(m_flat_tree.insert_equal(container_detail::force<impl_const_iterator>(position), container_detail::force<impl_value_type>(x))); }
@@ -1165,7 +1163,7 @@ class flat_multimap
//! is to be inserted before p) plus linear insertion //! is to be inserted before p) plus linear insertion
//! to the elements with bigger keys than x. //! to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
iterator insert(const_iterator position, BOOST_RV_REF(value_type) x) iterator insert(const_iterator position, BOOST_RV_REF(value_type) x)
{ {
return container_detail::force_copy<iterator> return container_detail::force_copy<iterator>
@@ -1183,7 +1181,7 @@ class flat_multimap
//! is to be inserted before p) plus linear insertion //! is to be inserted before p) plus linear insertion
//! to the elements with bigger keys than x. //! to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
iterator insert(const_iterator position, BOOST_RV_REF(impl_value_type) x) iterator insert(const_iterator position, BOOST_RV_REF(impl_value_type) x)
{ {
return container_detail::force_copy<iterator>( return container_detail::force_copy<iterator>(
@@ -1197,7 +1195,7 @@ class flat_multimap
//! <b>Complexity</b>: At most N log(size()+N) (N is the distance from first to last) //! <b>Complexity</b>: At most N log(size()+N) (N is the distance from first to last)
//! search time plus N*size() insertion time. //! search time plus N*size() insertion time.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
template <class InputIterator> template <class InputIterator>
void insert(InputIterator first, InputIterator last) void insert(InputIterator first, InputIterator last)
{ m_flat_tree.insert_equal(first, last); } { m_flat_tree.insert_equal(first, last); }
@@ -1211,7 +1209,7 @@ class flat_multimap
//! <b>Complexity</b>: Logarithmic search time plus linear insertion //! <b>Complexity</b>: Logarithmic search time plus linear insertion
//! to the elements with bigger keys than x. //! to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
template <class... Args> template <class... Args>
iterator emplace(Args&&... args) iterator emplace(Args&&... args)
{ return container_detail::force_copy<iterator>(m_flat_tree.emplace_equal(boost::forward<Args>(args)...)); } { return container_detail::force_copy<iterator>(m_flat_tree.emplace_equal(boost::forward<Args>(args)...)); }
@@ -1227,7 +1225,7 @@ class flat_multimap
//! is to be inserted before p) plus linear insertion //! is to be inserted before p) plus linear insertion
//! to the elements with bigger keys than x. //! to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
template <class... Args> template <class... Args>
iterator emplace_hint(const_iterator hint, Args&&... args) iterator emplace_hint(const_iterator hint, Args&&... args)
{ {

View File

@@ -324,7 +324,6 @@ class flat_set
{ return m_flat_tree.max_size(); } { return m_flat_tree.max_size(); }
//! <b>Effects</b>: Swaps the contents of *this and x. //! <b>Effects</b>: Swaps the contents of *this and x.
//! If this->allocator_type() != x.allocator_type() allocators are also swapped.
//! //!
//! <b>Throws</b>: Nothing. //! <b>Throws</b>: Nothing.
//! //!
@@ -342,7 +341,7 @@ class flat_set
//! <b>Complexity</b>: Logarithmic search time plus linear insertion //! <b>Complexity</b>: Logarithmic search time plus linear insertion
//! to the elements with bigger keys than x. //! to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
std::pair<iterator, bool> insert(insert_const_ref_type x) std::pair<iterator, bool> insert(insert_const_ref_type x)
{ return priv_insert(x); } { return priv_insert(x); }
@@ -365,7 +364,7 @@ class flat_set
//! <b>Complexity</b>: Logarithmic search time plus linear insertion //! <b>Complexity</b>: Logarithmic search time plus linear insertion
//! to the elements with bigger keys than x. //! to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
std::pair<iterator,bool> insert(BOOST_RV_REF(value_type) x) std::pair<iterator,bool> insert(BOOST_RV_REF(value_type) x)
{ return m_flat_tree.insert_unique(boost::move(x)); } { return m_flat_tree.insert_unique(boost::move(x)); }
@@ -379,7 +378,7 @@ class flat_set
//! <b>Complexity</b>: Logarithmic search time (constant if x is inserted //! <b>Complexity</b>: Logarithmic search time (constant if x is inserted
//! right before p) plus insertion linear to the elements with bigger keys than x. //! right before p) plus insertion linear to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
iterator insert(const_iterator p, insert_const_ref_type x) iterator insert(const_iterator p, insert_const_ref_type x)
{ return priv_insert(p, x); } { return priv_insert(p, x); }
@@ -400,7 +399,7 @@ class flat_set
//! <b>Complexity</b>: Logarithmic search time (constant if x is inserted //! <b>Complexity</b>: Logarithmic search time (constant if x is inserted
//! right before p) plus insertion linear to the elements with bigger keys than x. //! right before p) plus insertion linear to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
iterator insert(const_iterator position, BOOST_RV_REF(value_type) x) iterator insert(const_iterator position, BOOST_RV_REF(value_type) x)
{ return m_flat_tree.insert_unique(position, boost::move(x)); } { return m_flat_tree.insert_unique(position, boost::move(x)); }
@@ -412,7 +411,7 @@ class flat_set
//! <b>Complexity</b>: At most N log(size()+N) (N is the distance from first to last) //! <b>Complexity</b>: At most N log(size()+N) (N is the distance from first to last)
//! search time plus N*size() insertion time. //! search time plus N*size() insertion time.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
template <class InputIterator> template <class InputIterator>
void insert(InputIterator first, InputIterator last) void insert(InputIterator first, InputIterator last)
{ m_flat_tree.insert_unique(first, last); } { m_flat_tree.insert_unique(first, last); }
@@ -430,7 +429,7 @@ class flat_set
//! <b>Complexity</b>: Logarithmic search time plus linear insertion //! <b>Complexity</b>: Logarithmic search time plus linear insertion
//! to the elements with bigger keys than x. //! to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
template <class... Args> template <class... Args>
iterator emplace(Args&&... args) iterator emplace(Args&&... args)
{ return m_flat_tree.emplace_unique(boost::forward<Args>(args)...); } { return m_flat_tree.emplace_unique(boost::forward<Args>(args)...); }
@@ -446,7 +445,7 @@ class flat_set
//! <b>Complexity</b>: Logarithmic search time (constant if x is inserted //! <b>Complexity</b>: Logarithmic search time (constant if x is inserted
//! right before p) plus insertion linear to the elements with bigger keys than x. //! right before p) plus insertion linear to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
template <class... Args> template <class... Args>
iterator emplace_hint(const_iterator hint, Args&&... args) iterator emplace_hint(const_iterator hint, Args&&... args)
{ return m_flat_tree.emplace_hint_unique(hint, boost::forward<Args>(args)...); } { return m_flat_tree.emplace_hint_unique(hint, boost::forward<Args>(args)...); }
@@ -929,7 +928,6 @@ class flat_multiset
{ return m_flat_tree.max_size(); } { return m_flat_tree.max_size(); }
//! <b>Effects</b>: Swaps the contents of *this and x. //! <b>Effects</b>: Swaps the contents of *this and x.
//! If this->allocator_type() != x.allocator_type() allocators are also swapped.
//! //!
//! <b>Throws</b>: Nothing. //! <b>Throws</b>: Nothing.
//! //!
@@ -943,7 +941,7 @@ class flat_multiset
//! <b>Complexity</b>: Logarithmic search time plus linear insertion //! <b>Complexity</b>: Logarithmic search time plus linear insertion
//! to the elements with bigger keys than x. //! to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
iterator insert(insert_const_ref_type x) iterator insert(insert_const_ref_type x)
{ return priv_insert(x); } { return priv_insert(x); }
@@ -962,7 +960,7 @@ class flat_multiset
//! <b>Complexity</b>: Logarithmic search time plus linear insertion //! <b>Complexity</b>: Logarithmic search time plus linear insertion
//! to the elements with bigger keys than x. //! to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
iterator insert(BOOST_RV_REF(value_type) x) iterator insert(BOOST_RV_REF(value_type) x)
{ return m_flat_tree.insert_equal(boost::move(x)); } { return m_flat_tree.insert_equal(boost::move(x)); }
@@ -975,7 +973,7 @@ class flat_multiset
//! <b>Complexity</b>: Logarithmic search time (constant if x is inserted //! <b>Complexity</b>: Logarithmic search time (constant if x is inserted
//! right before p) plus insertion linear to the elements with bigger keys than x. //! right before p) plus insertion linear to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
iterator insert(const_iterator p, insert_const_ref_type x) iterator insert(const_iterator p, insert_const_ref_type x)
{ return priv_insert(p, x); } { return priv_insert(p, x); }
@@ -997,7 +995,7 @@ class flat_multiset
//! <b>Complexity</b>: Logarithmic search time (constant if x is inserted //! <b>Complexity</b>: Logarithmic search time (constant if x is inserted
//! right before p) plus insertion linear to the elements with bigger keys than x. //! right before p) plus insertion linear to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
iterator insert(const_iterator position, BOOST_RV_REF(value_type) x) iterator insert(const_iterator position, BOOST_RV_REF(value_type) x)
{ return m_flat_tree.insert_equal(position, boost::move(x)); } { return m_flat_tree.insert_equal(position, boost::move(x)); }
@@ -1008,7 +1006,7 @@ class flat_multiset
//! <b>Complexity</b>: At most N log(size()+N) (N is the distance from first to last) //! <b>Complexity</b>: At most N log(size()+N) (N is the distance from first to last)
//! search time plus N*size() insertion time. //! search time plus N*size() insertion time.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
template <class InputIterator> template <class InputIterator>
void insert(InputIterator first, InputIterator last) void insert(InputIterator first, InputIterator last)
{ m_flat_tree.insert_equal(first, last); } { m_flat_tree.insert_equal(first, last); }
@@ -1022,7 +1020,7 @@ class flat_multiset
//! <b>Complexity</b>: Logarithmic search time plus linear insertion //! <b>Complexity</b>: Logarithmic search time plus linear insertion
//! to the elements with bigger keys than x. //! to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
template <class... Args> template <class... Args>
iterator emplace(Args&&... args) iterator emplace(Args&&... args)
{ return m_flat_tree.emplace_equal(boost::forward<Args>(args)...); } { return m_flat_tree.emplace_equal(boost::forward<Args>(args)...); }
@@ -1037,7 +1035,7 @@ class flat_multiset
//! <b>Complexity</b>: Logarithmic search time (constant if x is inserted //! <b>Complexity</b>: Logarithmic search time (constant if x is inserted
//! right before p) plus insertion linear to the elements with bigger keys than x. //! right before p) plus insertion linear to the elements with bigger keys than x.
//! //!
//! <b>Note</b>: If an element it's inserted it might invalidate elements. //! <b>Note</b>: If an element is inserted it might invalidate elements.
template <class... Args> template <class... Args>
iterator emplace_hint(const_iterator hint, Args&&... args) iterator emplace_hint(const_iterator hint, Args&&... args)
{ return m_flat_tree.emplace_hint_equal(hint, boost::forward<Args>(args)...); } { return m_flat_tree.emplace_hint_equal(hint, boost::forward<Args>(args)...); }

View File

@@ -701,8 +701,6 @@ class list
} }
//! <b>Effects</b>: Swaps the contents of *this and x. //! <b>Effects</b>: Swaps the contents of *this and x.
//! If this->allocator_type() != x.allocator_type()
//! allocators are also swapped.
//! //!
//! <b>Throws</b>: Nothing. //! <b>Throws</b>: Nothing.
//! //!

View File

@@ -376,7 +376,6 @@ class map
} }
//! <b>Effects</b>: Swaps the contents of *this and x. //! <b>Effects</b>: Swaps the contents of *this and x.
//! If this->allocator_type() != x.allocator_type() allocators are also swapped.
//! //!
//! <b>Throws</b>: Nothing. //! <b>Throws</b>: Nothing.
//! //!
@@ -1019,7 +1018,6 @@ class multimap
{ return m_tree.max_size(); } { return m_tree.max_size(); }
//! <b>Effects</b>: Swaps the contents of *this and x. //! <b>Effects</b>: Swaps the contents of *this and x.
//! If this->allocator_type() != x.allocator_type() allocators are also swapped.
//! //!
//! <b>Throws</b>: Nothing. //! <b>Throws</b>: Nothing.
//! //!

View File

@@ -317,7 +317,6 @@ class set
{ return m_tree.max_size(); } { return m_tree.max_size(); }
//! <b>Effects</b>: Swaps the contents of *this and x. //! <b>Effects</b>: Swaps the contents of *this and x.
//! If this->allocator_type() != x.allocator_type() allocators are also swapped.
//! //!
//! <b>Throws</b>: Nothing. //! <b>Throws</b>: Nothing.
//! //!
@@ -884,7 +883,6 @@ class multiset
{ return m_tree.max_size(); } { return m_tree.max_size(); }
//! <b>Effects</b>: Swaps the contents of *this and x. //! <b>Effects</b>: Swaps the contents of *this and x.
//! If this->allocator_type() != x.allocator_type() allocators are also swapped.
//! //!
//! <b>Throws</b>: Nothing. //! <b>Throws</b>: Nothing.
//! //!

View File

@@ -596,8 +596,6 @@ class slist
{ return !this->size(); } { return !this->size(); }
//! <b>Effects</b>: Swaps the contents of *this and x. //! <b>Effects</b>: Swaps the contents of *this and x.
//! If this->allocator_type() != x.allocator_type()
//! allocators are also swapped.
//! //!
//! <b>Throws</b>: Nothing. //! <b>Throws</b>: Nothing.
//! //!

View File

@@ -1226,8 +1226,6 @@ class stable_vector
{ return priv_erase(first, last, alloc_version()); } { return priv_erase(first, last, alloc_version()); }
//! <b>Effects</b>: Swaps the contents of *this and x. //! <b>Effects</b>: Swaps the contents of *this and x.
//! If this->allocator_type() != x.allocator_type()
//! allocators are also swapped.
//! //!
//! <b>Throws</b>: Nothing. //! <b>Throws</b>: Nothing.
//! //!

View File

@@ -1080,8 +1080,6 @@ class vector : private container_detail::vector_alloc_holder<A>
#endif //#ifdef BOOST_CONTAINER_PERFECT_FORWARDING #endif //#ifdef BOOST_CONTAINER_PERFECT_FORWARDING
//! <b>Effects</b>: Swaps the contents of *this and x. //! <b>Effects</b>: Swaps the contents of *this and x.
//! If this->allocator_type() != x.allocator_type()
//! allocators are also swapped.
//! //!
//! <b>Throws</b>: Nothing. //! <b>Throws</b>: Nothing.
//! //!