public member function, calls the member function do_encoding of the most derived class.

The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.

2) if the encoding represented by this codecvt facet maps each internal character to the same, constant number of external characters, returns that number. If the encoding is variable-length (e.g. UTF-8 or UTF-16), returns ​0​. If the encoding is state-dependent, returns -1.