operator==

Compare two addresses for equality.

Synopsis

Declared in <netaddress.h>

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

NOTE

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

Return Value

True when both addresses are equal.

Parameters

NameDescription
aThe first address to compare.
bThe second address to compare.