bsl::basic_stringbuf::str

Reset the internally buffered sequence of characters to the specified value. Update the beginning and end of both the input and output sequences to be the beginning and end of the updated buffer, update the current input position to be the beginning of the updated buffer, and update the current output position to be the end of the updated buffer. If value is passed by MovableRef, then it is left in an unspecified but valid state.

Synopsis

Declared in <bslstl_stringbuf.h>

void
str(StringType const& value);