共用方式為


char_traits::state_type

A type that represents the conversion state for multibyte characters in a stream.

typedef implementation-defined state_type;

Remarks

The type describes an object that can represent a conversion state. It is typically a synonym for mbstate_t, but in any case it has essentially the same properties as that type.

Requirements

Header: <string>

Namespace: std

See Also

Concepts

char_traits Struct

char_traits Members