On this page
std::istreambuf_iterator<CharT,Traits>::istreambuf_iterator
| (1) | ||
|
(until C++11) | |
|
(since C++11) | |
|
(2) | (since C++20) |
| (3) | ||
|
(until C++11) | |
|
(since C++11) | |
| (4) | ||
|
(until C++11) | |
|
(since C++11) | |
| (5) | ||
|
(until C++11) | |
|
(since C++11) | |
|
(6) | (since C++11) |
1,2) Constructs an end-of-stream iterator.
3) Initializes the iterator and stores the value of
is.rdbuf() in a data member. If is.rdbuf() is null, then end-of-stream iterator is constructed.
4) Initializes the iterator and stores the value of
s in a data member. If s is null, then end-of-stream iterator is constructed.
5) Effectively call (3) with the
streambuf_type* pointer p holds.
6) The copy constructor is trivial and explicitly defaulted.
The copy constructor is effectively implicitly declared and not guaranteed to be trivial. |
(until C++11) |
Parameters
| is | - | stream to obtain the stream buffer from |
| s | - | stream buffer to initialize the iterator with |
| p | - | object of the implementation-defined proxy type |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/iterator/istreambuf_iterator/istreambuf_iterator