asio C++ library

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: asio/ip/address_v4.hpp

Convenience header: asio.hpp


PrevUpHomeNext