Boost C++ 库

...世界上最受推崇和设计精良的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu,《C++ 编码规范

basic_streambuf_ref::commit - Boost C++ 函数库
PrevUpHomeNext

将字节从输出序列移动到输入序列。

void commit(
    std::size_t n);

PrevUpHomeNext