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