Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/153.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ 字符-';酒吧';std::streambuf::pubstebuf()方法中的平均值?_C++ - Fatal编程技术网

C++ 字符-';酒吧';std::streambuf::pubstebuf()方法中的平均值?

C++ 字符-';酒吧';std::streambuf::pubstebuf()方法中的平均值?,c++,C++,我知道这个方法是用来为std::streambuf设置缓冲区的,我只是不理解std::streambuf::pubsekoffpub中的pub部分的意思std::streambuf::pubsekoff是受保护虚拟函数的公共面seekoff 由于不能基于函数为虚拟函数而重载该函数,因此必须为其中一个函数指定不同的名称。pub用于publicstd::streambuf::pubsekoff是受保护虚拟函数的公共面seekoff 由于不能基于函数是虚拟的而重载该函数,因此必须为其中一个函数指定不同

我知道这个方法是用来为
std::streambuf
设置缓冲区的,我只是不理解
std::streambuf::pubsekoff

pub
中的
pub
部分的意思
std::streambuf::pubsekoff
是受保护虚拟函数的公共面
seekoff


由于不能基于函数为虚拟函数而重载该函数,因此必须为其中一个函数指定不同的名称。

pub
用于
public
std::streambuf::pubsekoff
是受保护虚拟函数的公共面
seekoff


由于不能基于函数是虚拟的而重载该函数,因此必须为其中一个函数指定不同的名称。

我会说
public
,因为在“public”中有一个
受保护的
虚拟的
请参见koff
“Pub”。与.相反,我会说
public
,因为在“public”中有一个
受保护的
虚拟的
“Pub”。与之相反。