cpp/io/manip/skipws

Enables or disables skipping of leading whitespace by the formatted input functions (enabled by default). Has no effect on output.

1) enables the flag in the stream  as if by calling

2) disables the flag in the stream  as if by calling

The whitespace skipping is performed by the constructor of std, which reads and discards the characters classified as whitespace by the std facet of the stream's imbued locale.

This is an I/O manipulator, it may be called with an expression such as for any  of type std or with an expression such as  for any  of type std.

Return value
(reference to the stream after manipulation)