From Jason Turner

[string.op+=]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp5pwotn0p/{from.md → to.md} +43 -0
tmp/tmp5pwotn0p/{from.md → to.md} RENAMED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ##### `basic_string::operator+=` <a id="string.op+=">[[string.op+=]]</a>
2
+
3
+ ``` cpp
4
+ basic_string&
5
+ operator+=(const basic_string& str);
6
+ ```
7
+
8
+ *Effects:* Calls `append(str)`.
9
+
10
+ *Returns:* `*this`.
11
+
12
+ ``` cpp
13
+ basic_string& operator+=(basic_string_view<charT, traits> sv);
14
+ ```
15
+
16
+ *Effects:* Calls `append(sv)`.
17
+
18
+ *Returns:* `*this`.
19
+
20
+ ``` cpp
21
+ basic_string& operator+=(const charT* s);
22
+ ```
23
+
24
+ *Effects:* Calls `append(s)`.
25
+
26
+ *Returns:* `*this`.
27
+
28
+ ``` cpp
29
+ basic_string& operator+=(charT c);
30
+ ```
31
+
32
+ *Effects:* Calls `push_back(c)`;
33
+
34
+ *Returns:* `*this`.
35
+
36
+ ``` cpp
37
+ basic_string& operator+=(initializer_list<charT> il);
38
+ ```
39
+
40
+ *Effects:* Calls `append(il)`.
41
+
42
+ *Returns:* `*this`.
43
+