Return true if two addresses are equal

Synopsis

bool
operator==(
    ipv4_address const& a1,
    ipv4_address const& a2) noexcept;
Note

This function is a hidden friend of ipv4_address, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

true if the addresses are equal, otherwise false.

Parameters

Name

Description

a1

The first address to compare.

a2

The second address to compare.

Created with MrDocs