Reset this stream's buffered character sequence to value.

Synopsis

Declared in <bslstl_ostringstream.h>

template<class STRING_VIEW_LIKE_TYPE>
void
str(STRING_VIEW_LIKE_TYPE const& value);

Description

Reset the internally buffered sequence of characters maintained by this stream object to the specified value (of a type convertible to basic_string_view<CHAR_TYPE, CHAR_TRAITS> but not to const CHAR_TYPE *).

Parameters

Name

Description

value

new character sequence for the stream buffer

Created with MrDocs