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

Name

Description

a

The first address to compare.

b

The second address to compare.

Created with MrDocs