Name
skipws function — Manipulator to skip whitespace before reading
Synopsis
ios_base& skipws(ios_base& stream)
The skipws
function is a
manipulator that sets the skipws
flag, which tells an input stream to skip whitespace before reading
most fields. Specifically, the function calls stream.setf(ios_base::skipws)
and returns
stream
.
See Also
ios_base::fmtflags
type, noskipws
function, num_get
in <locale>
Get C++ In a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.