Return an iterator at the specified offset from iterator.

Synopsis

Declared in <bdlc_compactedarray.h>

template<class TYPE>
bdlc::CompactedArray_ConstIterator<TYPE>
operator+(
    std::ptrdiff_t offset,
    CompactedArray_ConstIterator<TYPE> const& iterator);

Description

Same as the preceding overload with operands swapped.

Return Value

iterator at the specified offset from iterator

Parameters

Name

Description

offset

number of positions to advance

iterator

base iterator

Created with MrDocs