:relfileprefix: ../../../ [#B02E31CC34D52D8251316A6BC2183F2F79E785F0] = Function segments_encoded_ref::assign pass:v,q[Assign segments] == Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- template void assign( FwdIt first, FwdIt last); ---- == Description pass:v,q[The existing contents are replaced] pass:v,q[by a copy of the contents of the range.] pass:v,q[Reserved characters in the range are] pass:v,q[automatically escaped.] pass:v,q[Escapes in the range are preserved.] pass:v,q[All iterators are invalidated.] [NOTE] pass:v,q[None of the character buffers referenced] pass:v,q[by the range may overlap the character] pass:v,q[buffer of the underlying url, or else] pass:v,q[the behavior is undefined.] === Mandates [,cpp] ---- std::is_convertible< std::iterator_traits< FwdIt >::reference_type, pct_string_view >::value == true ---- === Complexity pass:v,q[Linear in `std::distance( first, last ) + this->url().encoded_query().size() + this->url().encoded_fragment().size()`.] === Exception Safety pass:v,q[Strong guarantee.] pass:v,q[Calls to allocate may throw.] pass:v,q[Exceptions thrown on invalid input.] == Return Value * `void` == Parameters |=== | Name | Type | *first* | `FwdIt` | *last* | `FwdIt` |===