+ 2

Istream iterator

Refer code below : Istream iterator has input argument as cin... whats advantage of using istream iterator compared to cin alone as cin>>a? https://code.sololearn.com/cRfVfAhjMqFK/?ref=app

20th Sep 2022, 1:29 AM
Ketan Lalcheta
Ketan Lalcheta - avatar
1 Answer
+ 1
https://code.sololearn.com/c0o4A8ZCWPMp/?ref=app Some other intersting used cases are mentioned on cppreference : https://en.cppreference.com/w/cpp/iterator/istream_iterator
20th Sep 2022, 11:02 AM
Arsenic
Arsenic - avatar