boost::corosio::operator==

Compare endpoints for equality.

Synopsis

bool
operator==(
    endpoint const& a,
    endpoint const& b) noexcept;

Description

Two endpoints are equal if they have the same address type, the same address value, and the same port.

Return Value

true if both endpoints are equal.

Parameters

Name Description

a

The left operand

b

The right operand

Created with MrDocs