Talk:cpp/io/basic istream/tellg

There's no guarantee that the return value of tellg is convertible to an integer, and if so there's no guarantee what its value "means". In this respect, the example is problematic, at least, and the specification should spell this out.
 * the return type in the stream used in the example is std, which is guaranteed to be convertible to "signed integral type of sufficient size" aka std. I don't see a problem in the example, although use of streamoff would perhaps be more instructive. --Cubbi (talk) 05:09, 19 June 2017 (PDT)