[#operator_minus-0c]
= operator&hyphen;
:mrdocs:

Subtraction operators

== Synopses

Declared in `&lt;arith&lowbar;uint256&period;h&gt;`

Returns the distance between two iterators&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:prevector-0c/const_iterator/difference_type.adoc[difference&lowbar;type]
xref:operator_minus-05.adoc[operator&hyphen;](
    xref:prevector-0c/const_iterator.adoc[const&lowbar;iterator] a,
    xref:prevector-0c/const_iterator.adoc[const&lowbar;iterator] b);
----

[.small]#xref:operator_minus-05.adoc[_» more&period;&period;&period;_]#

Returns the distance between two iterators&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:prevector-0c/iterator/difference_type.adoc[difference&lowbar;type]
xref:operator_minus-0d.adoc[operator&hyphen;](
    xref:prevector-0c/iterator.adoc[iterator] a,
    xref:prevector-0c/iterator.adoc[iterator] b);
----

[.small]#xref:operator_minus-0d.adoc[_» more&period;&period;&period;_]#

Subtract both fee and size&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:FeeFrac.adoc[FeeFrac]
xref:operator_minus-0b.adoc[operator&hyphen;](
    xref:FeeFrac.adoc[FeeFrac] const& a,
    xref:FeeFrac.adoc[FeeFrac] const& b) noexcept;
----

[.small]#xref:operator_minus-0b.adoc[_» more&period;&period;&period;_]#

Returns the difference of two big integers&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:base_uint-02.adoc[base&lowbar;uint]
xref:operator_minus-08.adoc[operator&hyphen;](
    xref:base_uint-02.adoc[base&lowbar;uint] const& a,
    xref:base_uint-02.adoc[base&lowbar;uint] const& b);
----

[.small]#xref:operator_minus-08.adoc[_» more&period;&period;&period;_]#

Returns the difference of two big integers&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:base_uint-02.adoc[base&lowbar;uint&lt;256&gt;]
xref:operator_minus-07.adoc[operator&hyphen;](
    xref:base_uint-02.adoc[base&lowbar;uint&lt;256&gt;] const& a,
    xref:base_uint-02.adoc[base&lowbar;uint&lt;256&gt;] const& b);
----

[.small]#xref:operator_minus-07.adoc[_» more&period;&period;&period;_]#

== Return Value

* The number of elements between the two iterators&period;
* A FeeFrac holding the difference of the fees and of the sizes&period;
* The result of `a` minus `b&period;`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| The left&hyphen;hand iterator&period;
| *b*
| The right&hyphen;hand iterator&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
