[#cluster_linearize-operator_eq-01]
= xref:cluster_linearize.adoc[cluster&lowbar;linearize]::operator&equals;&equals;
:relfileprefix: ../
:mrdocs:

Equality operators

== Synopses

Declared in `&lt;cluster&lowbar;linearize&period;h&gt;`

Equality operator (primarily for testing purposes)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:cluster_linearize/operator_eq-08.adoc[operator&equals;&equals;](
    xref:cluster_linearize/DepGraph.adoc[DepGraph] const& a,
    xref:cluster_linearize/DepGraph.adoc[DepGraph] const& b) noexcept;
----

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

Permit equality testing&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:cluster_linearize/operator_eq-05.adoc[operator&equals;&equals;](
    xref:cluster_linearize/SetInfo.adoc[SetInfo] const& lhs,
    xref:cluster_linearize/SetInfo.adoc[SetInfo] const& rhs) noexcept = default;
----

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

== Return Value

* Whether both graphs use the same positions with equal entries&period;
* Whether both objects hold the same transactions and feerate&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| The first graph to compare&period;
| *b*
| The second graph to compare&period;
| *lhs*
| The first object to compare&period;
| *rhs*
| The second object to compare&period;
|===


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