[#bsl-basic_string-0faf-assign_range] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0faf.adoc[basic_string]::assign_range :relfileprefix: ../../ :mrdocs: Assign to this string the characters from the specified `range`. Return a reference providing modifiable access to this string. Note that `range` must meet the requirements of an input range and the values from `range` must have a type matching or convertible to (template parameter) `CHAR_TYPE`. == Synopsis Declared in `<bslstl_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class RANGE> xref:bsl/basic_string-0faf.adoc[basic_string]& assign_range(RANGE&& range); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#