basic_streambuf::setp

在输出区域的末尾指针首先存储 _Pbeg 指针和 _Pend 的受保护的功能。

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

参数

  • _Pbeg
    对缓冲区的开头的指针。

  • _Pend
    对缓冲区末尾的指针。

要求

标头: <streambuf>

命名空间: std

请参见

参考

basic_streambuf Class

iostream编程

(mfc)约定