C++ Actor Framework 0.19
|
Closes the guarded socket when destroyed. More...
#include <socket_guard.hpp>
Public Member Functions | |
socket_guard (Socket fd) noexcept | |
socket_guard (socket_guard &&other) noexcept | |
socket_guard (const socket_guard &)=delete | |
socket_guard & | operator= (socket_guard &&other) noexcept |
socket_guard & | operator= (const socket_guard &)=delete |
void | reset (Socket x) noexcept |
void | reset () noexcept |
Socket | release () noexcept |
Socket | get () noexcept |
Socket | socket () const noexcept |
Closes the guarded socket when destroyed.