Export (0) Print
Expand All

codecvt_utf8_utf16

Represents a locale facet that converts between wide characters encoded as UTF-16 and a byte stream encoded as UTF-8.

template<
    class Elem,
    unsigned long Maxcode = 0x10ffff,
    codecvt_mode Mode = (codecvt_mode)0
>
class codecvt_utf8_utf16 : public _STD codecvt<Elem, char, StateType>

Parameter

Description

Elem

The wide-character element type.

Maxcode

The maximum number of characters for the locale facet.

Mode

Configuration information for the locale facet.

The byte stream can be written to either a binary file or a text file.

Header: <codecvt>

Namespace: std

Community Additions

ADD
Show:
© 2014 Microsoft