operator!=
判断两个端口号是否不相等。
bool operator!=(port_t other) const;
bool operator!=(const char* other) const;
bool operator!=(const std::string& other) const;
示例
nano::Port port = 443;
port != 443; // false
port != std::string("443"); // false
port != "8080"; // true