|typedef IPNet< A >||Net|
|bool||operator() (const Net &l, const Net &r) const|
|bool||operator() (const IPNet< A > &l, const IPNet< A > &r) const|
A network comparitor class for the purposes of ordering networks in sorted containers.
It examines the data rather than using the address of pointers. The latter approach makes testing difficult on different platforms since the tests may inadvertantly make assumptions about the memory layout. The comparison is arbitrary, it just has to be consistent and reversible.