Skip to content

Commit d2adad7

Browse files
TylerMSFTTylerMSFT
authored andcommitted
acrolinx, fix link
1 parent 6866120 commit d2adad7

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

docs/standard-library/codecvt-class.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 37d3efa1-2b7f-42b6-b04f-7a972c8c2c86
88
---
99
# `codecvt` Class
1010

11-
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.
1212

1313
## Syntax
1414

@@ -173,7 +173,7 @@ The possible values for the *`refs`* parameter and their significance are:
173173
- 1: The lifetime of the object must be manually managed.
174174
175175
176-
- 2: These values are not defined.
176+
- 2: These values aren't defined.
177177
178178
The constructor initializes its `locale::facet` base object with [`locale::facet`](../standard-library/locale-class.md#facet_class)`(refs)`.
179179
@@ -195,7 +195,7 @@ The template version always returns **`true`**.
195195

196196
See the example for [`always_noconv`](#always_noconv), which calls `do_always_noconv`.
197197

198-
## `codecvt::do_encoding`
198+
## <a name="do_encoding"></a> `codecvt::do_encoding`
199199

200200
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.
201201

@@ -265,7 +265,7 @@ A return that indicates the success, partial success, or failure of the operatio
265265
266266
- `codecvt_base::ok` if the conversion succeeds.
267267
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.
269269
270270
### Remarks
271271
@@ -309,7 +309,7 @@ An integer that represents a count of the maximum number of conversions, not gre
309309

310310
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`.
311311

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`).
313313

314314
The template version always returns the lesser of *`last1`* - *`first1`* and *`len2`*.
315315

@@ -385,7 +385,7 @@ The function returns:
385385
386386
- `codecvt_base::ok` if the conversion succeeds.
387387
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.
389389
390390
### Remarks
391391
@@ -431,7 +431,7 @@ The function returns:
431431

432432
- `codecvt_base::ok` if the conversion succeeds
433433

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
435435

436436
### Remarks
437437

@@ -554,7 +554,7 @@ A return that indicates the success, partial success, or failure of the operatio
554554
555555
- `codecvt_base::ok` if the conversion succeeds.
556556
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.
558558
559559
### Remarks
560560
@@ -845,7 +845,7 @@ The function returns:
845845
846846
- `codecvt_base::ok` if the conversion succeeds.
847847
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.
849849
850850
### Remarks
851851

0 commit comments

Comments
 (0)