Assignment operators
Declared in <util/sock.h>
Copy assignment operator, disabled because closing the same socket twice is undesirable.
Sock&
operator=(Sock const& other) = delete;
» more...
Move assignment operator, grab the socket from another object and close ours (if set).
virtual
Sock&
operator=(Sock&& other);
» more...
Reference to this object.
| Name | Description |
|---|---|
| other | The socket wrapper that would be assigned from. |