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
A class template that describes an object that can serve as a locale facet. It is able to control conversions between a sequence of values used to encode characters within the program and a sequence of values used to encode characters outside the program.
11
+
A class template that describes an object that can serve as a locale facet. It can control conversions between a sequence of values used to encode characters within the program and a sequence of values used to encode characters outside the program.
12
12
13
13
## Syntax
14
14
@@ -173,7 +173,7 @@ The possible values for the *`refs`* parameter and their significance are:
173
173
- 1: The lifetime of the object must be manually managed.
174
174
175
175
176
-
- 2: These values are not defined.
176
+
- 2: These values aren't defined.
177
177
178
178
The constructor initializes its `locale::facet` base object with [`locale::facet`](../standard-library/locale-class.md#facet_class)`(refs)`.
179
179
@@ -195,7 +195,7 @@ The template version always returns **`true`**.
195
195
196
196
See the example for [`always_noconv`](#always_noconv), which calls `do_always_noconv`.
A virtual function that tests if the encoding of the `Byte` stream is state dependent, whether the ratio between the `Byte` values used and the `CharType` values produced is constant and, if so, determines the value of that ratio.
201
201
@@ -265,7 +265,7 @@ A return that indicates the success, partial success, or failure of the operatio
265
265
266
266
- `codecvt_base::ok` if the conversion succeeds.
267
267
268
-
- `codecvt_base::partial` if the source is insufficient or if the destination is not large enough, for the conversion to succeed.
268
+
- `codecvt_base::partial` if the source is insufficient or if the destination isn't large enough, for the conversion to succeed.
269
269
270
270
### Remarks
271
271
@@ -309,7 +309,7 @@ An integer that represents a count of the maximum number of conversions, not gre
309
309
310
310
The protected virtual member function effectively calls `do_in( state, first1, last1, next1, buf, buf + len2, next2)` for *state* (a copy of state), some buffer `buf`, and pointers `next1` and `next2`.
311
311
312
-
It then returns `next2` - `buf`. Thus, it counts the maximum number of conversions, not greater than *len2*, defined by the source sequence at [`first1`, `last1`).
312
+
It then returns `next2` - `buf`. It counts the maximum number of conversions, not greater than *len2*, defined by the source sequence at [`first1`, `last1`).
313
313
314
314
The template version always returns the lesser of *`last1`* - *`first1`* and *`len2`*.
315
315
@@ -385,7 +385,7 @@ The function returns:
385
385
386
386
- `codecvt_base::ok` if the conversion succeeds.
387
387
388
-
- `codecvt_base::partial` if the source is insufficient or if the destination is not large enough for the conversion to succeed.
388
+
- `codecvt_base::partial` if the source is insufficient or if the destination isn't large enough for the conversion to succeed.
389
389
390
390
### Remarks
391
391
@@ -431,7 +431,7 @@ The function returns:
431
431
432
432
-`codecvt_base::ok` if the conversion succeeds
433
433
434
-
-`codecvt_base::partial` if the destination is not large enough for the conversion to succeed
434
+
-`codecvt_base::partial` if the destination isn't large enough for the conversion to succeed
435
435
436
436
### Remarks
437
437
@@ -554,7 +554,7 @@ A return that indicates the success, partial success, or failure of the operatio
554
554
555
555
- `codecvt_base::ok` if the conversion succeeds.
556
556
557
-
- `codecvt_base::partial` if the source is insufficient or if the destination is not large enough for the conversion to succeed.
557
+
- `codecvt_base::partial` if the source is insufficient or if the destination isn't large enough for the conversion to succeed.
558
558
559
559
### Remarks
560
560
@@ -845,7 +845,7 @@ The function returns:
845
845
846
846
- `codecvt_base::ok` if the conversion succeeds.
847
847
848
-
- `codecvt_base::partial` if the destination is not large enough for the conversion to succeed.
848
+
- `codecvt_base::partial` if the destination isn't large enough for the conversion to succeed.
0 commit comments