It is used in pointer to end of output sequence and returns a pointer to the element just past the last element of the array with the portion of the controlled output sequence that is currently buffered.
Following is the declaration for std::basic_streambuf::epptr.
char* epptr() const;
It returns a pointer to the past-the-end element of an array with the part of the controlled output sequence that is currently buffered.
Strong guarantee − if an exception is thrown, there are no changes in the stream buffer.
It accesses the stream buffer object.