Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

std::istreambuf_iterator<CharT,Traits>::operator*

Reads a single character by calling sbuf_->sgetc() where sbuf_ is the stored pointer to the stream buffer.

NotebookLM
CharT operator*() const;

Reads a single character by calling sbuf_->sgetc() where sbuf_ is the stored pointer to the stream buffer.

The behavior is undefined if the iterator is end-of-stream iterator.

Parameters

(none)

Return value

The value of the obtained character.

Exceptions

May throw implementation-defined exceptions.

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.