tmp/tmpyqar6b4v/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
##### `basic_string::operator+=` <a id="string.op.append">[[string.op.append]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
constexpr basic_string& operator+=(const basic_string& str);
|
| 5 |
+
```
|
| 6 |
+
|
| 7 |
+
*Effects:* Equivalent to: `return append(str);`
|
| 8 |
+
|
| 9 |
+
``` cpp
|
| 10 |
+
template<class T>
|
| 11 |
+
constexpr basic_string& operator+=(const T& t);
|
| 12 |
+
```
|
| 13 |
+
|
| 14 |
+
*Constraints:*
|
| 15 |
+
|
| 16 |
+
- `is_convertible_v<const T&, basic_string_view<charT, traits>>` is
|
| 17 |
+
`true` and
|
| 18 |
+
- `is_convertible_v<const T&, const charT*>` is `false`.
|
| 19 |
+
|
| 20 |
+
*Effects:* Equivalent to:
|
| 21 |
+
|
| 22 |
+
``` cpp
|
| 23 |
+
basic_string_view<charT, traits> sv = t;
|
| 24 |
+
return append(sv);
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
``` cpp
|
| 28 |
+
constexpr basic_string& operator+=(const charT* s);
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
*Effects:* Equivalent to: `return append(s);`
|
| 32 |
+
|
| 33 |
+
``` cpp
|
| 34 |
+
constexpr basic_string& operator+=(charT c);
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
*Effects:* Equivalent to: `return append(size_type{1}, c);`
|
| 38 |
+
|
| 39 |
+
``` cpp
|
| 40 |
+
constexpr basic_string& operator+=(initializer_list<charT> il);
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
*Effects:* Equivalent to: `return append(il);`
|
| 44 |
+
|