I'd like to have something similar to C++'s std::istream_iterator<int>(std::cin)

Is it possible? I'm relatively indifferent to efficiency of the solution.

Reply via email to