Reset the buffered character sequence from a string‐view‐like value.
Synopsis
Declared in <bslstl_stringbuf.h>
template<class STRING_VIEW_LIKE_TYPE>
void
str(STRING_VIEW_LIKE_TYPE const& value);
Description
Reset the internally buffered sequence of characters 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 buffer |
Created with MrDocs