[#bsl-basic_stringbuf-str-0dd] = xref:bsl.adoc[bsl]::xref:bsl/basic_stringbuf.adoc[basic_stringbuf]::str :relfileprefix: ../../ :mrdocs: Reset the buffered character sequence from a string‐view‐like value. == Synopsis Declared in `<bslstl_stringbuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STRING_VIEW_LIKE_TYPE> void str(STRING_VIEW_LIKE_TYPE const& value); ---- == Description 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 *`). == Parameters [cols="1,4"] |=== | Name| Description | *value* | new character sequence for the buffer |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#