[#bsl-basic_istringstream-tellg] = xref:bsl.adoc[bsl]::xref:bsl/basic_istringstream.adoc[basic_istringstream]::tellg :relfileprefix: ../../ :mrdocs: Getting the current read position. == Synopsis Declared in `<bslstl_istringstream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- pos_type tellg(); ---- == Description If `fail()` is not false, returns `pos_type(‐1)` to indicate failure. Otherwise returns `rdbuf()‐>pubseekoff(0,cur,in).` [NOTE] ==== This function does not count the number of characters extracted, if any, and therefore does not affect the next call to `gcount().` At variance with putback, unget and seekg, eofbit is not cleared first. ==== == Return Value A file position object. [.small]#Created with https://www.mrdocs.com[MrDocs]#