Compare two positions for equality by block sequence and offset.

Synopsis

Declared in <index/txindex_key.h>

constexpr
bool
operator==(
    BlockTxPosition const& lhs,
    BlockTxPosition const& rhs) = default;
Note

This function is a hidden friend of BlockTxPosition, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

True if both positions have the same block sequence and offset.

Parameters

Name

Description

lhs

Left‐hand position to compare.

rhs

Right‐hand position to compare.

Created with MrDocs