basic_istream& putback(E c);
The unformatted input function puts back c, if possible, as if by calling rdbuf()->sputbackc(). If rdbuf() is a null
pointer, or if the call to sputbackc returns T::eof(), the function calls setstate(badbit). In any case, it returns
*this.