Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The latest version of this topic can be found at <codecvt> enums.
codecvt_mode Enumeration
Specifies configuration information for locale facets.
enum class 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 readgenerate_header
, to generate an initial header sequence when writing a multibyte sequence to advertise the endianness of the subsequent multibyte sequence to be writtenlittle_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.