std::basic_streambuf::setp

From cppreference.com
 
 
 
 
void setp( char_type* pbeg, char_type* pend );

Sets the values of the pointers defining the put area. Specifically, after the call pbase() == pbeg, pptr() == pbeg, epptr() == pend

Contents

[edit] Parameters

pbeg - pointer to the new beginning of the put area
pend - pointer to the new end of the put area

[edit] Return value

(none)

[edit] Example

[edit] See also

repositions the beginning, next, and end pointers of the input sequence
(protected member function)