[#BloombergLP-bdlc-operator_minus-03]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::operator&hyphen;
:relfileprefix: ../../
:mrdocs:

Return an iterator at the negated specified `offset` from `iterator`&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;compactedarray&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
xref:BloombergLP/bdlc/CompactedArray_ConstIterator.adoc[bdlc::CompactedArray&lowbar;ConstIterator&lt;TYPE&gt;]
operator&hyphen;(
    xref:BloombergLP/bdlc/CompactedArray_ConstIterator.adoc[CompactedArray&lowbar;ConstIterator&lt;TYPE&gt;] const& iterator,
    std::ptrdiff&lowbar;t offset);
----

== Description

The returned iterator, `it`, referencing a `CompactedArray` `array`, remains valid as long as `0 &lt;&equals; it &hyphen; array&period;begin() &lt;&equals; array&period;length()`&period; The behavior is undefined unless `CompactedArray&lowbar;ConstIterator() !&equals; iterator` and `0 &lt;&equals; iterator &hyphen; array&period;begin() &hyphen; offset &lt;&equals; array&period;length()`&period;

== Return Value

iterator at the negated specified offset from `iterator`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *iterator*
| base iterator
| *offset*
| number of positions to move backward
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
