forked from boostorg/container
refs #7531 (variable shadowing in container and intrusive)
[SVN r81050]
This commit is contained in:
@@ -418,7 +418,7 @@ class flat_map
|
||||
//! <b>Throws</b>: Nothing.
|
||||
//!
|
||||
//! <b>Complexity</b>: Constant.
|
||||
size_type capacity() const
|
||||
size_type capacity() const
|
||||
{ return m_flat_tree.capacity(); }
|
||||
|
||||
//! <b>Effects</b>: If n is less than or equal to capacity(), this call has no
|
||||
@@ -430,8 +430,8 @@ class flat_map
|
||||
//!
|
||||
//! <b>Note</b>: If capacity() is less than "count", iterators and references to
|
||||
//! to values might be invalidated.
|
||||
void reserve(size_type count)
|
||||
{ m_flat_tree.reserve(count); }
|
||||
void reserve(size_type count_)
|
||||
{ m_flat_tree.reserve(count_); }
|
||||
|
||||
//! <b>Effects</b>: Tries to deallocate the excess of memory created
|
||||
// with previous allocations. The size of the vector is unchanged
|
||||
@@ -1266,7 +1266,7 @@ class flat_multimap
|
||||
//! <b>Throws</b>: Nothing.
|
||||
//!
|
||||
//! <b>Complexity</b>: Constant.
|
||||
size_type capacity() const
|
||||
size_type capacity() const
|
||||
{ return m_flat_tree.capacity(); }
|
||||
|
||||
//! <b>Effects</b>: If n is less than or equal to capacity(), this call has no
|
||||
@@ -1278,8 +1278,8 @@ class flat_multimap
|
||||
//!
|
||||
//! <b>Note</b>: If capacity() is less than "count", iterators and references to
|
||||
//! to values might be invalidated.
|
||||
void reserve(size_type count)
|
||||
{ m_flat_tree.reserve(count); }
|
||||
void reserve(size_type count_)
|
||||
{ m_flat_tree.reserve(count_); }
|
||||
|
||||
//! <b>Effects</b>: Tries to deallocate the excess of memory created
|
||||
// with previous allocations. The size of the vector is unchanged
|
||||
|
||||
Reference in New Issue
Block a user