operator==

Compare two destinations for equality by their public keys.

Synopsis

Declared in <addresstype.h>

bool
operator==(
    PubKeyDestination const& a,
    PubKeyDestination const& b);

NOTE

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

Return Value

True if both hold equal public keys.

Parameters

NameDescription
aThe first destination.
bThe second destination.