Reset the buffered character sequence from a string-view-like value.
Declared in <bslstl_stringbuf.h>
template<class STRING_VIEW_LIKE_TYPE>
void
str(STRING_VIEW_LIKE_TYPE const& value);
Reset the internally buffered sequence of characters to the specified value (of a type convertible to basic_string_view<CHAR_TYPE, CHAR_TRAITS> but not to const CHAR_TYPE *).
| Name | Description |
|---|---|
| value | new character sequence for the buffer |