operator==

Compare two services for equality.

Synopsis

Declared in <netaddress.h>

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

Return Value

True when both services are equal.

Parameters

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