cpp/io/basic istream/gcount

Returns the number of characters extracted by the last unformatted input operation, or the maximum representable value of std if the number is not representable.

The following member functions of change the value of subsequent  calls:


 * swap
 * get
 * getline
 * ignore
 * read
 * readsome
 * operator>>
 * operator>>

The following functions set to zero:


 * putback
 * unget
 * peek
 * peek

Parameters
(none)

Return value
The number of characters extracted by the last unformatted input operation, or the maximum representable value of std if the number is not representable.