Boost C++ 库

...世界上最受推崇和专业设计的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext
buffered_stream::peek (1 of 2 overloads)

查看流上的传入数据。 返回读取的字节数。 失败时抛出异常。

template<
    typename MutableBufferSequence>
std::size_t peek(
    const MutableBufferSequence & buffers);

PrevUpHomeNext