C++ istream extension : Buffer the line and allow users to re-get the line.