tmp/tmpslzkzxnm/{from.md → to.md}
RENAMED
|
@@ -1,14 +1,13 @@
|
|
| 1 |
-
####
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<class P> iterator insert(P&& x);
|
| 5 |
template<class P> iterator insert(const_iterator position, P&& x);
|
| 6 |
```
|
| 7 |
|
|
|
|
|
|
|
| 8 |
*Effects:* The first form is equivalent to
|
| 9 |
`return emplace(std::forward<P>(x))`. The second form is equivalent to
|
| 10 |
`return emplace_hint(position, std::forward<P>(x))`.
|
| 11 |
|
| 12 |
-
*Remarks:* These signatures shall not participate in overload resolution
|
| 13 |
-
unless `is_constructible_v<value_type, P&&>` is `true`.
|
| 14 |
-
|
|
|
|
| 1 |
+
#### Modifiers <a id="multimap.modifiers">[[multimap.modifiers]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<class P> iterator insert(P&& x);
|
| 5 |
template<class P> iterator insert(const_iterator position, P&& x);
|
| 6 |
```
|
| 7 |
|
| 8 |
+
*Constraints:* `is_constructible_v<value_type, P&&>` is `true`.
|
| 9 |
+
|
| 10 |
*Effects:* The first form is equivalent to
|
| 11 |
`return emplace(std::forward<P>(x))`. The second form is equivalent to
|
| 12 |
`return emplace_hint(position, std::forward<P>(x))`.
|
| 13 |
|
|
|
|
|
|
|
|
|