std::istreambuf_iterator<CharT,Traits>::operator*
From cppreference.com
< cpp | iterator | istreambuf iterator
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Iterator library
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)(C++20)(C++20)(C++23)(C++20)(C++20)
(deprecated in C++17)
(C++20)
(C++20)
(C++20)(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++14)
(C++11)
(C++11)
(C++20)(C++20)
(C++20)(C++20)
(C++20)
(C++20)
(C++20)
(C++23)
(C++23)
(C++23)
(C++23)
(C++23)
(C++11)(C++14)
(C++14)(C++14)
std::istreambuf_iterator
Member functions
istreambuf_iterator::operator*
Non-member functions
(until C++20)
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.
[edit] Parameters
(none)
[edit] Return value
The value of the obtained character.
[edit] Exceptions
May throw implementation-defined exceptions.