BloombergLP::bslstl::TreeIterator::TreeIterator

Create an iterator copying the position of another iterator.

Synopsis

Declared in <bslstl_treeiterator.h>

template<class NON_CONST_ITERATOR>
TreeIterator(NON_CONST_ITERATOR const& original)
requires bsl::is_convertible<NON_CONST_ITERATOR,
                                                       NcIter>::value;

Description

Create an iterator at the same position as the specified original iterator. Note that this constructor enables converting from modifiable to const iterator types.

Parameters

NameDescription
originaliterator whose position is copied