Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

ip::address_v4::operator<=

Compare addresses for ordering.

bool operator<=(
    const address_v4 & a1,
    const address_v4 & a2);

Compares two addresses in host byte order.

Return Value

a1.to_uint() <= a2.to_uint().

Requirements

Header: boost/asio/ip/address_v4.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext