C++ Actor Framework 0.19
Loading...
Searching...
No Matches
Public Member Functions | List of all members
caf::net::socket_guard< Socket > Class Template Reference

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_guardoperator= (socket_guard &&other) noexcept
 
socket_guardoperator= (const socket_guard &)=delete
 
void reset (Socket x) noexcept
 
void reset () noexcept
 
Socket release () noexcept
 
Socket get () noexcept
 
Socket socket () const noexcept
 

Detailed Description

template<class Socket>
class caf::net::socket_guard< Socket >

Closes the guarded socket when destroyed.


The documentation for this class was generated from the following file: