cheshirekow
v0.1.0
|
reference to an element in a bitset More...
#include <cpp_nix/fd_set.h>
Public Member Functions | |
Ref & | flip () |
flip the bit More... | |
operator bool () const | |
convert to bool More... | |
Ref & | operator= (bool x) |
assign from bool More... | |
Private Member Functions | |
Ref (fd_set *set, int fd) | |
Private Attributes | |
int | m_fd |
fd_set * | m_set |
Friends | |
class | FdSet |
|
private |
Ref& nix::FdSet::Ref::flip | ( | ) |
flip the bit
nix::FdSet::Ref::operator bool | ( | ) | const |
convert to bool
Ref& nix::FdSet::Ref::operator= | ( | bool | x | ) |
assign from bool