Skip to content

Commit ade3238

Browse files
committed
Remove copy-pasted text from map that does not apply to flat_map, since it's not a node-based container and does not implement extract operations.
1 parent 2932339 commit ade3238

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

include/boost/container/flat_map.hpp

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -801,10 +801,6 @@ class flat_map
801801
//! to the mapped_type corresponding to the key k. If the key does not exist, inserts the new value
802802
//! as if by insert, constructing it from value_type(k, forward<M>(obj)).
803803
//!
804-
//! No iterators or references are invalidated. If the insertion is successful, pointers and references
805-
//! to the element obtained while it is held in the node handle are invalidated, and pointers and
806-
//! references obtained to that element before it was extracted become valid.
807-
//!
808804
//! Returns: The bool component is true if the insertion took place and false if the assignment
809805
//! took place. The iterator component is pointing at the element that was inserted or updated.
810806
//!
@@ -822,10 +818,6 @@ class flat_map
822818
//! to the mapped_type corresponding to the key k. If the key does not exist, inserts the new value
823819
//! as if by insert, constructing it from value_type(k, move(obj)).
824820
//!
825-
//! No iterators or references are invalidated. If the insertion is successful, pointers and references
826-
//! to the element obtained while it is held in the node handle are invalidated, and pointers and
827-
//! references obtained to that element before it was extracted become valid.
828-
//!
829821
//! Returns: The bool component is true if the insertion took place and false if the assignment
830822
//! took place. The iterator component is pointing at the element that was inserted or updated.
831823
//!
@@ -844,10 +836,6 @@ class flat_map
844836
//! as if by insert, constructing it from value_type(k, forward<M>(obj)) and the new element
845837
//! to the container as close as possible to the position just before hint.
846838
//!
847-
//! No iterators or references are invalidated. If the insertion is successful, pointers and references
848-
//! to the element obtained while it is held in the node handle are invalidated, and pointers and
849-
//! references obtained to that element before it was extracted become valid.
850-
//!
851839
//! <b>Returns</b>: The returned iterator points to the map element whose key is equivalent to k.
852840
//!
853841
//! Complexity: Logarithmic in the size of the container in general, but amortized constant if
@@ -867,10 +855,6 @@ class flat_map
867855
//! as if by insert, constructing it from value_type(k, move(obj)) and the new element
868856
//! to the container as close as possible to the position just before hint.
869857
//!
870-
//! No iterators or references are invalidated. If the insertion is successful, pointers and references
871-
//! to the element obtained while it is held in the node handle are invalidated, and pointers and
872-
//! references obtained to that element before it was extracted become valid.
873-
//!
874858
//! <b>Returns</b>: The returned iterator points to the map element whose key is equivalent to k.
875859
//!
876860
//! Complexity: Logarithmic in the size of the container in general, but amortized constant if

0 commit comments

Comments
 (0)