Skip to content

Commit ffbc196

Browse files
author
msebolt
committed
minor adjustments
1 parent 2de4069 commit ffbc196

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/standard-library/memory-functions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ If `align()` is unsuccessful, this parameter isn't modified.
6868

6969
### Return Value
7070

71-
A null pointer if the requested aligned buffer wouldn't fit into the available space; otherwise, the new value of *`ptr`*.
71+
A `NULL` pointer if the requested aligned buffer wouldn't fit into the available space; otherwise, the new value of *`ptr`*.
7272

7373
### Remarks
7474

@@ -99,7 +99,7 @@ while (std::align(alignment, sizeof(MyObj), ptr, space)) {
9999

100100
## <a name="allocate_shared"></a> `allocate_shared`
101101

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`.
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`.
103103

104104
```cpp
105105
template <class T, class Allocator, class... Args>
@@ -301,7 +301,7 @@ Size of block that starts at *`ptr`* that contains no traceable pointers.
301301
302302
### Remarks
303303
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.)
305305
306306
## <a name="declare_reachable"></a> `declare_reachable`
307307
@@ -319,7 +319,7 @@ A pointer to a reachable, allocated, valid storage area.
319319

320320
### Remarks
321321

322-
If *`ptr`* is not null, the function informs any garbage collector that *ptr* is now reachable, that is, it points to valid allocated storage.
322+
If *`ptr`* is not null, the function informs any garbage collector that *`ptr`* is now reachable, that is, it points to valid allocated storage.
323323

324324
## <a name="default_delete"></a> `default_delete`
325325

docs/standard-library/string.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,26 +57,26 @@ The C++ language and the C++ Standard Library support two types of strings:
5757
|[`swap`](../standard-library/string-functions.md#swap)|Exchanges the arrays of characters of two strings.|
5858
|[`stod`](../standard-library/string-functions.md#stod)|Converts a character sequence to a **`double`**.|
5959
|[`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`**.|
6161
|[`stold`](../standard-library/string-functions.md#stold)|Converts a character sequence to a **`long double`**.|
6262
|[`stoll`](../standard-library/string-functions.md#stoll)|Converts a character sequence to a **`long long`**.|
6363
|[`stoul`](../standard-library/string-functions.md#stoul)|Converts a character sequence to an **`unsigned long`**.|
6464
|[`stoull`](../standard-library/string-functions.md#stoull)|Converts a character sequence to an **`unsigned long long`**.|
6565
|[`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.|
6767

6868
### Functions
6969

7070
|Function|Description|
7171
|-|-|
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.|
7373

7474
### Classes
7575

7676
|Class|Description|
7777
|-|-|
7878
|[`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`|
8080

8181
### Specializations
8282

0 commit comments

Comments
 (0)