Reset the buffered character sequence to the specified value.

Synopsis

Declared in <bslstl_stringbuf.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

new character sequence for the buffer

Created with MrDocs