Construct a random‐access iterator from a compatible iterator.
Synopsis
Declared in <bslstl_randomaccessiterator.h>
RandomAccessIterator(RandomAccessIterator<UnCvqT, ITER_IMP, TAG_TYPE> const& other);
Description
Construct a random access iterator from another (compatible) RandomAccessIterator type, e.g., a mutable iterator of the same type. Note that this constructor may be the copy constructor (inhibiting the implicit declaration of a copy constructor above), or may be an additional overload.
Parameters
Name |
Description |
other |
compatible iterator whose value is copied |
Created with MrDocs