[#BloombergLP-bdlc-operator_plus-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::operator+ :relfileprefix: ../../ :mrdocs: Return an iterator referencing the location at the specified `offset` from the location referenced by the specified `iterator`. The returned iterator, `it`, referencing a `CompactedArray` `array`, remains valid as long as `0 <= it ‐ array.begin() <= array.length()`. The behavior is undefined unless `CompactedArray_ConstIterator() != iterator` and `0 <= iterator ‐ array.begin() + offset <= array.length()`. == Synopsis Declared in `<bdlc_compactedarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> xref:BloombergLP/bdlc/CompactedArray_ConstIterator.adoc[bdlc::CompactedArray_ConstIterator<TYPE>] operator+( xref:BloombergLP/bdlc/CompactedArray_ConstIterator.adoc[CompactedArray_ConstIterator<TYPE>] const& iterator, std::ptrdiff_t offset); ---- == Specializations [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlc/operator_plus-0c.adoc[`operator+<>`] | Return an iterator at the specified offset from the given iterator (see free `operator+`). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#