Standard C++ Library Reference ISO/IEC (VERSION3)

The member function returns do_out(state, first1, last1, next1, first2, last2, next2).
codecvt::state_type
typedef Statype state_type;
The type is a synonym for the template parameter Statype.
codecvt::unshift
result unshift(Statype state&,
Byte *first2, Byte *last2, Byte *next2);
The member function returns do_unshift(state, first2, last2, next2).
codecvt_base
class codecvt_base {
public:
enum result {ok, partial, error, noconv};
};
The class describes an enumeration common to all specializations of template class codecvt. The enumeration
result describes the possible return values from do_in or do_out:
error if the source sequence is ill formed
noconv if the function performs no conversion
ok if the conversion succeeds
partial if the destination is not large enough for the conversion to succeed
codecvt_byname
template<class Elem, class Byte, class Statype>
class codecvt_byname
: public codecvt<Elem, Byte, Statype> {
public:
explicit codecvt_byname(const char *locname,
size_t refs = 0);
protected:
~codecvt_byname();
};
The template class describes an object that can serve as a locale facet of type codecvt<Elem, Byte, Statype>.
Its behavior is determined by the named locale locname. The constructor initializes its base object with
codecvt<Elem, Byte, Statype>(refs).
collate
template<class Elem>
class collate : public locale::facet {
public:
typedef Elem char_type;
typedef basic_string<Elem> string_type;
explicit collate(size_t refs = 0);