[#BloombergLP-bslstl-ForwardIterator-operator_assign] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/ForwardIterator.adoc[ForwardIterator]::operator= :relfileprefix: ../../../ :mrdocs: Assign to this iterator the value of a compatible iterator. == Synopsis Declared in `<bslstl_forwarditerator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslstl/ForwardIterator.adoc[ForwardIterator<T, ITER_IMP, TAG_TYPE>]& operator=(xref:BloombergLP/bslstl/ForwardIterator.adoc[ForwardNonConstIterator] const& rhs); ---- == Description Copy the value of the specified `rhs` of another (compatible) `ForwardIterator` type, (e.g., a mutable iterator of the same type) to this iterator. Return a reference to this modifiable object. Note that this method may be the copy‐assignment operator (inhibiting the implicit declaration of a copy‐assignment operator above), or may be an additional overload. == Return Value reference providing modifiable access to this object == Parameters [cols="1,4"] |=== | Name| Description | *rhs* | compatible iterator to assign from |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#