std::basic_istream::ignore
std::basic_istream::ignore
basic_istream& ignore( std::streamsize count = 1, int_type delim = Traits::eof() ); |
Extracts and discards characters from the input stream until and including delim
.
ignore
behaves as an UnformattedInputFunction
. After constructing and checking the sentry object, it extracts characters from the stream and discards them until any one of the following conditions occurs: