共用方式為


char_traits::pos_type

An integer type that can represent positions in a stream.

typedef streampos pos_type;

Remarks

The type describes an object that can store all the information needed to restore an arbitrary file-position indicator within a stream. It is typically a synonym for streampos, but in any case it has essentially the same properties as that type.

Requirements

Header: <string>

Namespace: std

See Also

Reference

char_traits Struct

Other Resources

char_traits Members