protected:
virtual pos_type seekpos( pos_type sp,
std::ios_base::openmode which = std::ios_base::in | std::ios_base::out );
Repositions the file pointer, if possible, to the position indicated by sp.
If the associated file is not open (is_open()==false), fails immediately.
If the file is open for writing, first writes the put area and any unshift sequences required by the currently imbued locale, using overflow().
Then repositions the file pointer, as if by cal