operator==

Compare two services for equality.

Synopsis

Declared in <netaddress.h>

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

NOTE

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

Return Value

True when both services are equal.

Parameters

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