BloombergLP::bdlc::CompactedArray_ConstIterator::operator->

Return a const reference to the element referenced by this iterator.

Synopsis

Declared in <bdlc_compactedarray.h>

TYPE const&
operator->() const;

Description

The behavior is undefined unless for this iterator, referencing a CompactedArray array, CompactedArray_ConstIterator() != *this and *this - array.begin() < array.length().

Return Value

const reference to the referenced element