class
<locale>

std::codecvt_base

class codecvt_base;
Base class for codecvt
This is not a facet type, but the base class that defines the result enum member type to be inherited by codecvt facet classes.

It is defined as:
1
2
3
4
class codecvt_base {
public:
  enum result { ok, partial, error, noconv };
};

Member types

member typedescription
resultAn enum type used as return type for codecvt::in, codecvt::out and codecvt::unshift.

Member constants

member constanttypevaluedescription
okcodecvt_base::result0Conversion successful
partialcodecvt_base::result1Partial conversion
errorcodecvt_base::result2Conversion error
noconvcodecvt_base::result3No conversion

See also