Sock::HashSharedPtrSock::operator()

Hash the wrapped socket descriptor.

Synopsis

Declared in <util/sock.h>

size_t
operator()(std::shared_ptr<Sock const> const& s) const;

Return Value

The socket descriptor, or the maximum SOCKET value if s is empty.

Parameters

NameDescription
sThe socket to hash (may be empty).