Subtraction operators
Declared in <bdlc_bitarray.h>
Return the bitwise MINUS of the specified lhs and rhs arrays.
bdlc::BitArray
operator-(
BitArray const& lhs,
BitArray const& rhs);
» more...
Return the signed distance between two iterators (see free operator-).
template<>
std::ptrdiff_t
operator-(
CompactedArray_ConstIterator const& lhs,
CompactedArray_ConstIterator const& rhs);
» more...
Return the signed distance between two iterators (see free operator-).
template<>
std::ptrdiff_t
operator-<>(
PackedIntArrayConstIterator const& lhs,
PackedIntArrayConstIterator const& rhs);
» more...
Return an iterator at the negated 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 negated specified offset from iterator.
template<class TYPE>
bdlc::CompactedArray_ConstIterator<TYPE>
operator-(
CompactedArray_ConstIterator<TYPE> const& iterator,
std::ptrdiff_t offset);
» more...
Return the signed distance between the specified lhs and rhs.
template<class TYPE>
std::ptrdiff_t
operator-(
CompactedArray_ConstIterator<TYPE> const& lhs,
CompactedArray_ConstIterator<TYPE> const& rhs);
» more...
Return the number of elements between lhs and rhs.
template<class TYPE>
std::ptrdiff_t
operator-(
PackedIntArrayConstIterator<TYPE> const& lhs,
PackedIntArrayConstIterator<TYPE> const& rhs);
» more...
lhs and rhsrhs to lhsiterator| Name | Description |
|---|---|
| lhs | first operand |
| rhs | second operand |
| iterator | base iterator |
| offset | number of positions to move backward |