operator-

Subtraction operators

Synopses

Declared in <arith_uint256.h>

Returns the distance between two iterators.

difference_type
operator-(
    const_iterator a,
    const_iterator b);
» more...

Returns the distance between two iterators.

difference_type
operator-(
    iterator a,
    iterator b);
» more...

Subtract both fee and size.

FeeFrac
operator-(
    FeeFrac const& a,
    FeeFrac const& b) noexcept;
» more...

Returns the difference of two big integers.

base_uint
operator-(
    base_uint const& a,
    base_uint const& b);
» more...

Returns the difference of two big integers.

base_uint<256>
operator-(
    base_uint<256> const& a,
    base_uint<256> const& b);
» more...

Return Value

  • The number of elements between the two iterators.
  • A FeeFrac holding the difference of the fees and of the sizes.
  • The result of a minus b.

Parameters

NameDescription
aThe left-hand iterator.
bThe right-hand iterator.