[#txindex-02-operator_eq] = xref:txindex-02.adoc[txindex]::operator== :relfileprefix: ../ :mrdocs: Compare two positions for equality by block sequence and offset. == Synopsis Declared in `<index/txindex_key.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr bool operator==( 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. == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | Left‐hand position to compare. | *rhs* | Right‐hand position to compare. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#