...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Compare addresses for ordering.
bool operator<( const address_v4 & a1, const address_v4 & a2);
Compares two addresses in host byte order.
a1.to_uint() < a2.to_uint()
.
Header: boost/asio/ip/address_v4.hpp
Convenience header: boost/asio.hpp