[#bsl-basic_ostringstream-str-0f] = xref:bsl.adoc[bsl]::xref:bsl/basic_ostringstream.adoc[basic_ostringstream]::str :relfileprefix: ../../ :mrdocs: Reset this stream's buffered character sequence to `value`. == Synopsis Declared in `<bslstl_ostringstream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class SALLOC> void str(xref:bsl/basic_string-0faf.adoc[basic_string<CHAR_TYPE, CHAR_TRAITS, SALLOC>] const& value) requires !bsl::is_same<ALLOCATOR, SALLOC>::value; ---- == Description Same as the `str` overload taking `const StringType&`. == Parameters [cols="1,4"] |=== | Name| Description | *value* | string whose contents become the stream buffer |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#