21 Internet protocol [internet]

21.12 Class template ip::network_v6 [internet.network.v6]

21.12.3 ip::network_v6 comparisons [internet.network.v6.comparisons]

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

Returns: true if a.address() == b.address() and a.prefix_length() == b.prefix_length(), otherwise false.

constexpr bool operator!=(const network_v6& a, const network_v6& b) noexcept;

Returns: !(a == b).