w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
Edit
In Place Editing Advanced Editing
  • References
  • C, C++
  • C++
  • Iterator

std::istream_iterator::operators (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).

Links:
  • http://en.cppreference.com/w/cpp/iterator/istream_iterator/operator_arith
doc_CPP
doc_CPP
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.

Popular Articles
operators (std::istream_iterator) template< class T, class CharT, class Traits, class Dist > bool operator==( const istream_iterator<T,CharT,Traits,Dist>& lhs,
std::istream_iterator Defined in header <iterator> template< class T, class CharT = char, class Traits = std::char_traits<CharT>
std::istream_iterator::istream_iterator istream_iterator(); constexpr istream_iterator(); (1) (since C++11, only if T is literal type) istream_iterator( istream_type& stream );
std::istreambuf_iterator::operators (int) istreambuf_iterator& operator++(); (1) /* unspecified */ operator++(int); (2) Advances the iterator by calling sbuf_->sbumpc() w
std::regex_iterator::operators (int) regex_iterator& operator++(); (since C++11) regex_iterator operator++(int); (since C++11) Advances the iterator on the next match.


Return to View
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions