operator==

Returns whether two addresses have equal time, service flags, and endpoint.

Synopsis

Declared in <protocol.h>

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

NOTE

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

Return Value

true if both addresses have equal time, service flags, and endpoint.

Parameters

NameDescription
aThe left-hand address.
bThe right-hand address.