Construct a forward iterator from a compatible iterator.
Synopsis
Declared in <bslstl_forwarditerator.h>
ForwardIterator(ForwardNonConstIterator const& other);
Description
Construct a forward iterator from the specified other iterator of another (compatible) ForwardIterator 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