Sock::operator=

Copy assignment operator, disabled because closing the same socket twice is undesirable.

Synopsis

Declared in <util/sock.h>

Sock&
operator=(Sock const& other) = delete;

Return Value

Reference to this object.

Parameters

NameDescription
otherThe socket wrapper that would be assigned from.