共用方式為


basic_streambuf::gptr

A protected function that returns a pointer to the next element of the input buffer.

char_type *gptr( ) const;

Return Value

A pointer to the next element of the input buffer.

Requirements

Header: <streambuf>

Namespace: std

See Also

Concepts

basic_streambuf Class

basic_streambuf Members

iostream Programming

iostreams Conventions