tmp/tmpf62v3wn3/{from.md → to.md}
RENAMED
|
@@ -3,21 +3,21 @@
|
|
| 3 |
``` cpp
|
| 4 |
template <class P>
|
| 5 |
iterator insert(P&& obj);
|
| 6 |
```
|
| 7 |
|
| 8 |
-
*Effects:* Equivalent to `return emplace(std::forward<P>(obj))`
|
| 9 |
|
| 10 |
*Remarks:* This signature shall not participate in overload resolution
|
| 11 |
-
unless `
|
| 12 |
|
| 13 |
``` cpp
|
| 14 |
template <class P>
|
| 15 |
iterator insert(const_iterator hint, P&& obj);
|
| 16 |
```
|
| 17 |
|
| 18 |
-
*Effects:* Equivalent to
|
| 19 |
-
`return emplace_hint(hint, std::forward<P>(obj))`
|
| 20 |
|
| 21 |
*Remarks:* This signature shall not participate in overload resolution
|
| 22 |
-
unless `
|
| 23 |
|
|
|
|
| 3 |
``` cpp
|
| 4 |
template <class P>
|
| 5 |
iterator insert(P&& obj);
|
| 6 |
```
|
| 7 |
|
| 8 |
+
*Effects:* Equivalent to: `return emplace(std::forward<P>(obj));`
|
| 9 |
|
| 10 |
*Remarks:* This signature shall not participate in overload resolution
|
| 11 |
+
unless `is_constructible_v<value_type, P&&>` is `true`.
|
| 12 |
|
| 13 |
``` cpp
|
| 14 |
template <class P>
|
| 15 |
iterator insert(const_iterator hint, P&& obj);
|
| 16 |
```
|
| 17 |
|
| 18 |
+
*Effects:* Equivalent to:
|
| 19 |
+
`return emplace_hint(hint, std::forward<P>(obj));`
|
| 20 |
|
| 21 |
*Remarks:* This signature shall not participate in overload resolution
|
| 22 |
+
unless `is_constructible_v<value_type, P&&>` is `true`.
|
| 23 |
|