Bind this string reference to the specified iterator range.
Synopsis
Declared in <bslstl_stringref.h>
void
assign(
const_iterator begin,
const_iterator end);
Description
Bind this string reference to the string at the specified begin iterator, extending up to, but not including, the character at the specified end iterator. The string indicated by begin and end must remain valid as long as it is bound to this object. The behavior is undefined unless begin <= end. Note that the string need not be null‐terminated and may contain embedded null characters.
Parameters
Name |
Description |
begin |
start of the character sequence to reference |
end |
one past the end of the character sequence |
Created with MrDocs