protected member function
<streambuf> <iostream>
Pointer to end of output sequence
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.
Member functions can access this array directly; It is described by the pointers returned by the following protected member functions:
member | descritpion |
pbase() | Beginning of the buffered part of the output sequence |
pptr() | Current position in the output sequence ("put pointer") |
epptr() | End of the buffered part of the output sequence |
Return Value
A pointer to the past-the-end element of an array with the part of the controlled output sequence that is currently buffered.
Data races
Accesses the stream buffer object.
Concurrent access to the same stream buffer object may cause data races.
Exception safety
Strong guarantee: if an exception is thrown, there are no changes in the stream buffer.
See also
- streambuf::pbase
- Pointer to beginning of output sequence (protected member function
)
- streambuf::pptr
- Pointer to current position of output sequence (protected member function
)
- streambuf::egptr
- Pointer to end of input sequence (protected member function
)