c++ - Seems cin.putback(char) does nothing in theory -


i found function basic_istream::putback() inherited form basic_ios calls basic_streambuf::sputbackc() in turn calls pbackfail(). , funny when found pbackfail() nothing returning eof (and it's not overrided).

so how function putback() work in practice?


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -