omni::detail::operator-

Defined in omni/detail/PointerIterator.h

template<typename TPointer, typename UPointer, typename TContainer>
inline constexpr auto omni::detail::operator-(const PointerIterator<TPointer, TContainer> &lhs, const PointerIterator<UPointer, TContainer> &rhs) noexcept -> decltype(lhs.operator->() - rhs.operator->())

Get the distance between iterators lhs and rhs. If lhs < rhs, this value will be negative.