共用方式為


char_traits::off_type

An integer type that can represent offsets between positions in a stream.

typedef streamoff off_type;

Remarks

The type is a signed integer that describes an object that can store a byte offset involved in various stream positioning operations. It is typically a synonym for streamoff, but it has essentially the same properties as that type.

Requirements

Header: <string>

Namespace: std

See Also

Concepts

char_traits Struct

char_traits Members