BloombergLP::bdlc::operator-

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

Synopsis

Declared in <bdlc_compactedarray.h>

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

Return Value

iterator at the negated specified offset from iterator

Parameters

NameDescription
iteratorbase iterator
offsetnumber of positions to move backward