Namespaces
Variants
Views
Actions

Standard library header <codectv>

From cppreference.com
< cpp‎ | header
Revision as of 07:50, 23 December 2012 by Bazzy (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This header is part of the localization library.

Definitions

Template:cpp/locale/dcl list codecvt utf8Template:cpp/locale/dcl list codecvt utf16Template:cpp/locale/dcl list codecvt utf8 utf16Template:cpp/locale/dcl list codecvt mode


Synopsis

namespace std
{
    enum codecvt_mode
    {
        consume_header = 4,
        generate_header = 2,
        little_endian = 1
    };
    template<class Elem, unsigned long Maxcode = 0x10ffff,
    codecvt_mode Mode = (codecvt_mode)0>
    class codecvt_utf8
        : public codecvt<Elem, char, mbstate_t>
    {
        // unspecified
    };
    template<class Elem, unsigned long Maxcode = 0x10ffff,
    codecvt_mode Mode = (codecvt_mode)0>
    class codecvt_utf16
        : public codecvt<Elem, char, mbstate_t>
    {
        // unspecified
    };
    template<class Elem, unsigned long Maxcode = 0x10ffff,
    codecvt_mode Mode = (codecvt_mode)0>
    class codecvt_utf8_utf16
        : public codecvt<Elem, char, mbstate_t>
    {
        // unspecified
    };
}