Reset this stream's buffered character sequence to value.

Synopsis

Declared in <bslstl_stringstream.h>

template<class SALLOC>
void
str(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

Name

Description

value

string whose contents become the stream buffer

Created with MrDocs