pos_type tellp();
If fail() is false, the member function returns rdbuf()-> pubseekoff(0, cur, in) code>. Otherwise, it returns streampos(-1).
fail
()
rdbuf
()->
pubseekoff
(0,
cur
,
in
) code>. Otherwise, it returns streampos(-1).
streampos
(-1)