次の方法で共有


basic_streambuf::setp

A protected function that stores _Pbeg in the beginning pointer and _Pend in the end pointer for the output buffer.

void setp(
   char_type *_Pbeg,
   char_type *_Pend
);

Parameters

  • _Pbeg
    A pointer to the beginning of the buffer.

  • _Pend
    A pointer to the end of the buffer.

Requirements

Header: <streambuf>

Namespace: std

See Also

Concepts

basic_streambuf Class

basic_streambuf Members

iostream Programming

iostreams Conventions