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
Copy file name to clipboardExpand all lines: docs/standard-library/array-class-stl.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1406,7 +1406,7 @@ Array to swap contents with.
1406
1406
1407
1407
### Remarks
1408
1408
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`.
1410
1410
1411
1411
There's also a non-member [`swap`](array-functions.md#swap) function available to swap two **`array`** instances.
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.
209
209
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.
@@ -391,7 +391,7 @@ If `mode & ios_base::ate` is nonzero and the file was successfully opened, the c
391
391
392
392
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).
393
393
394
-
If the file couldn't be successfully opened, null is returned.
394
+
If the file couldn't be successfully opened, `NULL` is returned.
395
395
396
396
### Example
397
397
@@ -416,7 +416,7 @@ Returns `*this`.
416
416
417
417
### Remarks
418
418
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).
420
420
421
421
## <aname="overflow"></a> basic_filebuf::overflow
422
422
@@ -542,7 +542,7 @@ The protected virtual member function attempts to alter the current positions fo
542
542
543
543
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.
544
544
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.
0 commit comments