How to seek in readed streams?

If I read whole std::istream, I can't do seekg and read again.
Are any C++ alternatives to std::istream?
Call clear() once you get to the end of the stream.
Topic archived. No new replies allowed.