cpp/locale/codecvt utf16

is a std facet which encapsulates conversion between a UTF-16 encoded byte string and UCS-2 or UTF-32 character string (depending on the type of ). This codecvt facet can be used to read and write UTF-16 files in binary mode.

Member functions
{{member|{{small|std::codecvt_utf16::}}codecvt_utf16| {{dcl begin}} {{dcl|1= explicit codecvt_utf16( std::size_t refs = 0 ); }} {{dcl end}}

Constructs a new {{tt|std::codecvt_utf16}} facet, passes the initial reference counter {{c|refs}} to the base class.

Parameters
}}