[#BloombergLP-bslstl-BidirectionalIterator-operator_assign-0c] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/BidirectionalIterator.adoc[BidirectionalIterator]::operator= :relfileprefix: ../../../ :mrdocs: Assign this iterator the value of a compatible bidirectional iterator. == Synopsis Declared in `<bslstl_bidirectionaliterator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslstl/BidirectionalIterator.adoc[BidirectionalIterator<T, ITER_IMP, TAG_TYPE>]& operator=(xref:BloombergLP/bslstl/BidirectionalIterator.adoc[BidirectionalNonConstIterator] const& rhs); ---- == Description Copy the value of the specified `rhs` of another (compatible) `BidirectionalIterator` 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 to this modifiable object == Parameters [cols="1,4"] |=== | Name| Description | *rhs* | compatible iterator to assign from |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#