BloombergLP::bslstl::TreeIterator::operator->

Return a pointer to the value at this iterator's position.

Synopsis

Declared in <bslstl_treeiterator.h>

TreeIterator<VALUE, NODE, DIFFERENCE_TYPE>::pointer
operator->() const;

Description

Return the address of the value (of the parameterized VALUE) of the element at which this iterator is positioned. The behavior is undefined unless this iterator is at a valid position in the tree.

Return Value

pointer to the value at this iterator's position