BloombergLP::bdlc::PackedIntArrayConstIterator::operator[]

Return the element that is the specified offset from the element reference by this array. The behavior is undefined unless for this iterator, referencing an element within a PackedIntArray array, PackedIntArrayConstInterator() != *this and 0 <= *this - array.begin() + offset < array.length().

Synopsis

Declared in <bdlc_packedintarray.h>

TYPE
operator[](std::ptrdiff_t offset) const;