btck::Iterator::operator-

Subtraction operators

Synopses

Declared in <kernel/bitcoinkernel_wrapper.h>

Returns an iterator rewound by n positions.

auto
operator-(difference_type n) const;
» more...

Computes the distance between two iterators.

auto
operator-(Iterator const& other) const;
» more...

Return Value

  • A new iterator at the offset position.
  • The signed number of elements between the two positions.

Parameters

NameDescription
nThe offset to subtract.
otherThe iterator to subtract.