You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creates a [shared_ptr](shared-ptr-class.md) to objects that are allocated and constructed for a given type by using a specified allocator. Returns the `shared_ptr`.
102
+
Creates a [`shared_ptr`](shared-ptr-class.md) to objects that are allocated and constructed for a given type by using a specified allocator. Returns the `shared_ptr`.
103
103
104
104
```cpp
105
105
template <classT, class Allocator, class... Args>
@@ -301,7 +301,7 @@ Size of block that starts at *`ptr`* that contains no traceable pointers.
301
301
302
302
### Remarks
303
303
304
-
The function informs any garbage collector that the addresses in the range `[ptr, ptr + size)` no longer contain traceable pointers. (Any pointers to allocated storage must not be dereferenced unless made reachable.)
304
+
The function informs any garbage collector that the addresses in the range `[ptr, ptr + size)` no longer contain traceable pointers. (Any pointers to allocated storage must not be dereferenced unless made reachable.)
Copy file name to clipboardExpand all lines: docs/standard-library/string.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -57,26 +57,26 @@ The C++ language and the C++ Standard Library support two types of strings:
57
57
|[`swap`](../standard-library/string-functions.md#swap)|Exchanges the arrays of characters of two strings.|
58
58
|[`stod`](../standard-library/string-functions.md#stod)|Converts a character sequence to a **`double`**.|
59
59
|[`stof`](../standard-library/string-functions.md#stof)|Converts a character sequence to a **`float`**.|
60
-
|[`stoi`](../standard-library/string-functions.md#stoi)|Converts a character sequence to an integer.|
60
+
|[`stoi`](../standard-library/string-functions.md#stoi)|Converts a character sequence to an **`int`**.|
61
61
|[`stold`](../standard-library/string-functions.md#stold)|Converts a character sequence to a **`long double`**.|
62
62
|[`stoll`](../standard-library/string-functions.md#stoll)|Converts a character sequence to a **`long long`**.|
63
63
|[`stoul`](../standard-library/string-functions.md#stoul)|Converts a character sequence to an **`unsigned long`**.|
64
64
|[`stoull`](../standard-library/string-functions.md#stoull)|Converts a character sequence to an **`unsigned long long`**.|
65
65
|[`to_string`](../standard-library/string-functions.md#to_string)|Converts a value to a `string`.|
66
-
|[`to_wstring`](../standard-library/string-functions.md#to_wstring)|Converts a value to a wide `string`.|
66
+
|[`to_wstring`](../standard-library/string-functions.md#to_wstring)|Converts a value to a wide string.|
67
67
68
68
### Functions
69
69
70
70
|Function|Description|
71
71
|-|-|
72
-
|[`getline` Template](../standard-library/string-functions.md#getline)|Extract strings from the input stream line by line.|
72
+
|[`getline` Template](../standard-library/string-functions.md#getline)|Extract `string` from the input stream line by line.|
73
73
74
74
### Classes
75
75
76
76
|Class|Description|
77
77
|-|-|
78
78
|[`basic_string` Class](../standard-library/basic-string-class.md)|A class template that describes objects that can store a sequence of arbitrary character-like objects.|
79
-
|[`char_traits` Struct](../standard-library/char-traits-struct.md)|A class template that describes attributes associated with a character of type CharType|
79
+
|[`char_traits` Struct](../standard-library/char-traits-struct.md)|A class template that describes attributes associated with a character of type `CharType`|
0 commit comments