Return the number of elements between lhs and rhs.
Declared in <bdlc_packedintarray.h>
template<class TYPE>
std::ptrdiff_t
operator-(
PackedIntArrayConstIterator<TYPE> const& lhs,
PackedIntArrayConstIterator<TYPE> const& rhs);
The behavior is undefined unless lhs and rhs reference the same array.
| Name | Description |
|---|---|
operator-<> | Return the signed distance between two iterators (see free operator-). |
signed distance from rhs to lhs
| Name | Description |
|---|---|
| lhs | left-hand-side iterator |
| rhs | right-hand-side iterator |