Skip to content

Commit ac88111

Browse files
committed
update after review
1 parent 94d2d28 commit ac88111

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

docs/standard-library/algorithm-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2915,7 +2915,7 @@ vector v3mod = ( 0 0 1 -1 2 -2 3 -3 4 -4 5 -5 )
29152915

29162916
## <a name="is_heap"></a> is_heap
29172917

2918-
Returns **`true`**, if the elements in the specified range form a heap.
2918+
Returns **`true`** if the elements in the specified range form a heap.
29192919

29202920
```cpp
29212921
template<class RandomAccessIterator>

docs/standard-library/array-class-stl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1406,7 +1406,7 @@ Array to swap contents with.
14061406
14071407
### Remarks
14081408
1409-
The member function swaps the controlled sequences between **`*this`** and *right*. It performs many element assignments and constructor calls proportional to `N`.
1409+
The member function swaps the controlled sequences between **`*this`** and *right*. It performs element assignments and constructor calls proportional to `N`.
14101410
14111411
There's also a non-member [`swap`](array-functions.md#swap) function available to swap two **`array`** instances.
14121412

docs/standard-library/auto-ptr-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ operator auto _ptr<Other>() throw();
321321

322322
#### Return Value
323323

324-
The type cast operator returns `auto_ptr` \< **Other**>( `*this*`).
324+
The type cast operator returns `auto_ptr` \< **Other**>( `*this`).
325325

326326
#### Example
327327

docs/standard-library/basic-filebuf-class.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ basic_filebuf(basic_filebuf&& right);
207207
208208
The first constructor stores a null pointer in all the pointers controlling the input buffer and the output buffer. It also stores a null pointer in the file pointer.
209209
210-
The second constructor initializes the object with the contents of *right*, treated as a rvalue reference.
210+
The second constructor initializes the object with the contents of `right`, treated as a rvalue reference.
211211
212212
## <a name="char_type"></a> basic_filebuf::char_type
213213
@@ -391,7 +391,7 @@ If `mode & ios_base::ate` is nonzero and the file was successfully opened, the c
391391
392392
If the above operations completed successfully, the file conversion facet is determined: `use_facet<codecvt<Char_T, char, traits_type::`[`state_type`](../standard-library/char-traits-struct.md#state_type)`> >(`[`getloc`](../standard-library/basic-streambuf-class.md#getloc)`)`, for use by [underflow](#underflow) and [overflow](#overflow).
393393
394-
If the file couldn't be successfully opened, null is returned.
394+
If the file couldn't be successfully opened, `NULL` is returned.
395395
396396
### Example
397397
@@ -416,7 +416,7 @@ Returns `*this`.
416416

417417
### Remarks
418418

419-
The member operator replaces the contents of the object by using the contents of *right*, treated as a rvalue reference. For more information, see [Rvalue reference declarator: &&](../cpp/rvalue-reference-declarator-amp-amp.md).
419+
The member operator replaces the contents of the object by using the contents of `right`, treated as a rvalue reference. For more information, see [Rvalue reference declarator: &&](../cpp/rvalue-reference-declarator-amp-amp.md).
420420

421421
## <a name="overflow"></a> basic_filebuf::overflow
422422

@@ -542,7 +542,7 @@ The protected virtual member function attempts to alter the current positions fo
542542

543543
For a file opened for both reading and writing, both the input and output streams are positioned in tandem. To switch between inserting and extracting, you must call either [`pubseekoff`](../standard-library/basic-streambuf-class.md#pubseekoff) or [`pubseekpos`](../standard-library/basic-streambuf-class.md#pubseekpos). Calls to `pubseekoff` (and to `seekoff`) have various limitations for text streams, binary streams, and wide streams.
544544

545-
For a wide stream, if any insertions have occurred since the stream was opened, or since the last call to `streampos`, the function calls [overflow](#overflow). It also inserts any sequence needed to restore the initial conversion state, by using the file conversion facet `fac` to call `fac.unshift` as needed. Each produced element `byte` of type **`char`** is written to the associated stream designated by the file pointer `fp` as if by successive calls of the form `fputc(byte, fp)`. If the call to `fac.unshift` or any write fails, the function doesn't succeed.
545+
For a wide stream, if any insertions have occurred since the stream was opened, or since the last call to `streampos`, the function calls [`overflow`](#overflow). It also inserts any sequence needed to restore the initial conversion state, by using the file conversion facet `fac` to call `fac.unshift` as needed. Each produced element `byte` of type **`char`** is written to the associated stream designated by the file pointer `fp` as if by successive calls of the form `fputc(byte, fp)`. If the call to `fac.unshift` or any write fails, the function doesn't succeed.
546546

547547
## <a name="setbuf"></a> basic_filebuf::setbuf
548548

0 commit comments

Comments
 (0)