BloombergLP::bdlc::operator+

Addition operators

Synopses

Declared in <bdlc_compactedarray.h>

Return an iterator at the specified offset from the given iterator (see free operator+).

template<>
CompactedArray_ConstIterator<TYPE>
operator+<>(
    CompactedArray_ConstIterator<TYPE> const& iterator,
    std::ptrdiff_t offset);
» more...

Return an iterator at the specified offset from iterator.

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

Return an iterator at the specified offset from iterator.

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

Return Value

iterator at the specified offset from iterator

Parameters

NameDescription
iteratorbase iterator
offsetnumber of positions to advance