[ Web Proxy ]
URL:
Viewing: https://ru.cppreference.com/cpp/locale/codecvt_base [Back]  [Original]

std::codecvt_base cppreference.com
cppreference.com

std::codecvt_base

cppreference.com

<metanoindex/>

<tbody> </tbody>
class codecvt_base;
std::codecvt_base , std::codecvt .
:
The class std::codecvt_base provides the conversion status constants which are inherited and used by the std::codecvt facets.
Google.
. .

-

enum result { ok, partial, error, noconv };
:
Unscoped enumeration type
Google.
. .
Value
:
Value
Google.
. .
Explanation
ok
:
conversion was completed with no error
Google.
. .
partial
:
not all source characters were converted
Google.
. .
error
:
encountered an invalid character
Google.
. .
noconv
,
:
no conversion required, input and output types are the same
Google.
. .

std::codecvt_base::partial , , , .
:
The value std::codecvt_base::partial is used to indicate that either the destination range is too short to receive the results of the conversion or the input is truncated in the middle of an otherwise valid multibyte character.
Google.
. .

.

, UTF-8, UTF-16, UTF-32
( ) []

Web Proxy Viewer  |  New URL  |  Original Page