Return the element at the specified offset from this iterator.
Synopsis
Declared in <bdlc_packedintarray.h>
TYPE
operator[](std::ptrdiff_t offset) const;
Description
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().
Return Value
element at offset from this iterator
Parameters
Name |
Description |
offset |
offset from this iterator's position |
Created with MrDocs