Update documentation on extract/insert to no longer say that transferring nodes between the corresponding multi- container is not supported

This commit is contained in:
Christian Mazakas
2022-02-25 13:59:00 -08:00
parent 55d4aaeef5
commit 3fe2c29204
4 changed files with 18 additions and 16 deletions
+5 -5
View File
@@ -871,7 +871,7 @@ Removes the element pointed to by `position`.
[horizontal]
Returns:;; A `node_type` owning the element.
Notes:;; In C++17 a node extracted using this method can be inserted into a compatible `unordered_multimap`, but that is not supported yet.
Notes:;; A node extracted using this method can be inserted into a compatible `unordered_multimap`.
---
@@ -885,7 +885,7 @@ Removes an element with key equivalent to `k`.
[horizontal]
Returns:;; A `node_type` owning the element if found, otherwise an empty `node_type`.
Throws:;; Only throws an exception if it is thrown by `hasher` or `key_equal`.
Notes:;; In C++17 a node extracted using this method can be inserted into a compatible `unordered_multimap`, but that is not supported yet.
Notes:;; A node extracted using this method can be inserted into a compatible `unordered_multimap`.
---
@@ -901,7 +901,7 @@ This overload only participates in overload resolution if `Hash::is_transparent`
[horizontal]
Returns:;; A `node_type` owning the element if found, otherwise an empty `node_type`.
Throws:;; Only throws an exception if it is thrown by `hasher` or `key_equal`.
Notes:;; In C++17 a node extracted using this method can be inserted into a compatible `unordered_multimap`, but that is not supported yet.
Notes:;; A node extracted using this method can be inserted into a compatible `unordered_multimap`.
---
@@ -926,7 +926,7 @@ Notes:;; Can invalidate iterators, but only if the insert causes the load factor
+
Pointers and references to elements are never invalidated. +
+
In C++17 this can be used to insert a node extracted from a compatible `unordered_multimap`, but that is not supported yet.
This can be used to insert a node extracted from a compatible `unordered_multimap`.
---
@@ -957,7 +957,7 @@ Can invalidate iterators, but only if the insert causes the load factor to be gr
+
Pointers and references to elements are never invalidated. +
+
In C++17 this can be used to insert a node extracted from a compatible `unordered_multimap`, but that is not supported yet.
This can be used to insert a node extracted from a compatible `unordered_multimap`.
---