std::istream_iterator::operators (int)

std::istream_iterator::operator++, operator++(int)

istream_iterator& operator++();
(1)
istream_iterator operator++(int);
(2)

Reads a value from the underlying stream and stores it into the iterator object.

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

Parameters

(none).

Return value

1) *this.
2) An istream_iterator that holds an unchanged value.

Exceptions

(none).

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/iterator/istream_iterator/operator_arith

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部