bsl::basic_stringstream::str

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

NameDescription
valuestring whose contents become the stream buffer