Assign this iterator the value of a compatible bidirectional iterator.
Synopsis
Declared in <bslstl_bidirectionaliterator.h>
BidirectionalIterator<T, ITER_IMP, TAG_TYPE>&
operator=(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
Name |
Description |
rhs |
compatible iterator to assign from |
Created with MrDocs