operator<

Order two services.

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

Parameters

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