result out (state_type& state, const intern_type* from, const intern_type* from_end, const intern_type*& from_next, extern_type* to, extern_type* to_limit, extern_type*& to_next) const;
[from,from_end) and places them in the range starting at to. It does not attempt to store more characters once to_limit is reached.[from,from_end), which contains all the characters between from and from_end, including the character pointed by from but not the character pointed by from_end.[to,to_limit), which contains all the characters between to and to_limit, including the character pointed by to but not the character pointed by to_limit.| member constant | int value | result |
|---|---|---|
| ok | 0 | Conversion successful: all characters were translated. |
| partial | 1 | Partial conversion: either the destination sequence [to,to_limit) is not long enough, or from_end has been reached but additional source characters are needed to complete a destination character.To reset the shift state, see codecvt::unshift. All previous characters have been successfully translated. |
| error | 2 | Conversion error: No valid conversion existed for the character pointed by from_next. All previous characters have been successfully translated. |
| noconv | 3 | No conversion: The source and destination character types (intern_type and extern_type) are the same. No conversion attempted: the source characters have been copied to the destination. |
|
|
Enter sentence: Test sentence Translation successful: Test sentence |
[from,from_end) are accessed.[to,to_limit) are modified.