bsl::basic_stringbuf::str

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

NameDescription
valuenew character sequence for the buffer