Addition operators
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...
iterator at the specified offset from iterator
| Name | Description |
|---|---|
| iterator | base iterator |
| offset | number of positions to advance |