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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

ip::address_v4::operator>

Compare addresses for ordering.

friend 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