[#txindex-02-operator_eq]
= xref:txindex-02.adoc[txindex]::operator&equals;&equals;
:relfileprefix: ../
:mrdocs:

Compare two positions for equality by block sequence and offset&period;

== Synopsis

Declared in `&lt;index&sol;txindex&lowbar;key&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
bool
operator&equals;&equals;(
    xref:txindex-02/BlockTxPosition.adoc[BlockTxPosition] const& lhs,
    xref:txindex-02/BlockTxPosition.adoc[BlockTxPosition] const& rhs) = default;
----

== Return Value

True if both positions have the same block sequence and offset&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lhs*
| Left&hyphen;hand position to compare&period;
| *rhs*
| Right&hyphen;hand position to compare&period;
|===


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