Compares two outpoints for equality.

Synopsis

Declared in <primitives/transaction.h>

bool
operator==(
    COutPoint const& a,
    COutPoint const& b);
Note

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

Return Value

True if both the hash and index are equal.

Parameters

Name

Description

a

The left‐hand outpoint.

b

The right‐hand outpoint.

Created with MrDocs