public member type
<locale>

std::codecvt::result

enum result;
Operation result type
This member type is inherited from codecvt_base.

It is an enumerated type used as the return type for member functions in, out and unshift, that may take any of the following member enum values:

valueMeaning
okConversion completed successfully
partialNot all source characters were converted in their entirety.
errorError:
This value is returned by member functions in and out if some of the characters in the range could not be converted.
If returned by function member unshift, indicates that the first argument was not a valid state value.
noconvFor in and out: No conversion needed: source copied.
For unshift: No termination was needed for this state.