Standard C++ Library Reference ISO/IEC (VERSION3)
stored value, as needed, to reflect the current state of a successful conversion. Typically, converting the source element
Elem(0) leaves the current state in the initial conversion state.
The function returns:
codecvt_base::error if state represents an invalid state●
codecvt_base::noconv if the function performs no conversion●
codecvt_base::ok if the conversion succeeds●
codecvt_base::partial if the destination is not large enough for the conversion to succeed●
The template version always returns noconv.
codecvt::extern_type
typedef Byte extern_type;
The type is a synonym for the template parameter Byte.
codecvt::in
result in(Statype state&,
const Byte *first1, const Byte *last1, const Byte *next1,
Elem *first2, Elem *last2, Elem *next2);
The member function returns do_in(state, first1, last1, next1, first2, last2, next2).
codecvt::intern_type
typedef Elem intern_type;
The type is a synonym for the template parameter Elem.
codecvt::length
int length(const Statype state&,
const Byte *first1, const Byte *last1,
size_t len2) const throw();
The member function returns do_length(first1, last1, len2).
codecvt::encoding
int encoding() const throw();
The member function returns do_encoding().
codecvt::max_length
int max_length() const throw();
The member function returns do_max_length().
codecvt::out
result out(Statype state&,
const Elem *first1, const Elem *last1,
const Elem *next1,
Byte *first2, Byte *last2, Byte *next2);