Reset this stream's buffered character sequence to value.
Declared in <bslstl_ostringstream.h>
template<class SALLOC>
void
str(basic_string<CHAR_TYPE, CHAR_TRAITS, SALLOC> const& value)
requires !bsl::is_same<ALLOCATOR, SALLOC>::value;
Same as the str overload taking const StringType&.
| Name | Description |
|---|---|
| value | string whose contents become the stream buffer |