BloombergLP::bslstl::RandomAccessIterator::operator=

Assignment operators

Synopses

Declared in <bslstl_bidirectionaliterator.h>

Assign to this iterator the value of a compatible iterator.

RandomAccessIterator<T, ITER_IMP, TAG_TYPE>&
operator=(RandomAccessIterator<UnCvqT, ITER_IMP, TAG_TYPE> const& other);
» more...

Assign this iterator the value of a compatible bidirectional iterator.

BidirectionalIterator<T, ITER_IMP, TAG_TYPE>&
operator=(BidirectionalNonConstIterator const& rhs);
» more...

Assign to this iterator the value of a compatible iterator.

ForwardIterator<T, ITER_IMP, TAG_TYPE>&
operator=(ForwardNonConstIterator const& rhs);
» more...

Return Value

  • reference providing modifiable access to this object
  • reference to this modifiable object

Parameters

NameDescription
othercompatible iterator to assign from
rhscompatible iterator to assign from