operator<

Order two addresses.

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 a orders before b.

Parameters

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