Namespaces
Variants

std::basic_stringbuf<CharT,Traits,Allocator>::seekpos

From cppreference.com
 
 
 
 
protected:
virtual pos_type seekpos( pos_type sp,
                          std::ios_base::openmode which = std::ios_base::in | std::ios_base::out );

Repositions std::basic_streambuf::gptr and/or std::basic_streambuf::pptr, if possible, to the position indicated by sp.

Effectively executes seekoff(off_type(sp), std::