pos_type tellg();
Returns input position indicator of the current associated streambuf object.
Behaves as UnformattedInputFunction, except that gcount() is not affected. After constructing and checking the sentry object, if fail() == true, returns pos_type(-1). Otherwise, returns rdbuf()->pubseekoff(0, std::ios_base::cur, std::ios_base::in).
Parameters
(none).
Return value
The current position of the get pointer on success, pos_type(-1) on failure.
Exceptions
failure if an