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.

Synopsis

Declared in <bslstl_stringref.h>

void
assign(
    const_iterator begin,
    const_iterator end);

Created with MrDocs