Condividi tramite


codecvt_mode

Specifies configuration information for locale facets.

enum codecvt_mode {
    consume_header = 4,
    generate_header = 2,
    little_endian = 1
    };

Remarks

The enumeration defines three constants that supply configuration information to the locale facets declared in <codecvt>. The distinct values are:

  • consume_header, to consume an initial header sequence when reading a multibyte sequence and determine the endianness of the subsequent multibyte sequence to be read

  • generate_header, to generate an initial header sequence when writing a multibyte sequence to advertise the endianness of the subsequent multibyte sequence to be written

  • little_endian, to generate a multibyte sequence in little-endian order, as opposed to the default big-endian order

These constants can be ORed together in arbitrary combinations.

Requirements

Header: <codecvt>

Namespace: std

See Also

Other Resources

<codecvt> Members