Closed acelyc111 closed 5 months ago
Remove the duplicate functions bool is_invalid() const, they are replaced by operator bool() const, the latter is more simple.
bool is_invalid() const
operator bool() const
Hide s_invalid_address and s_invalid_host_port in private scope, they are replaced by operator bool() const as well.
s_invalid_address
s_invalid_host_port
Remove the duplicate functions
bool is_invalid() const
, they are replaced byoperator bool() const
, the latter is more simple.Hide
s_invalid_address
ands_invalid_host_port
in private scope, they are replaced byoperator bool() const
as well.