operator==

Compare two subnets for equality.

Synopsis

Declared in <netaddress.h>

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

Return Value

True when both subnets are equal.

Parameters

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