Class FdWrapper¶ Defined in File fd_wrapper.hpp Class Documentation¶ class FdWrapper¶ Public Functions¶ FdWrapper() = default¶ FdWrapper(std::function<int(void)> open, std::function<void(int)> configure = nullptr, std::function<void(int)> close = nullptr)¶ ~FdWrapper()¶ FdWrapper(const FdWrapper&) = delete¶ FdWrapper &operator=(const FdWrapper&) = delete¶ inline FdWrapper(FdWrapper &&other) noexcept¶ inline FdWrapper &operator=(FdWrapper &&other) noexcept¶ inline explicit operator int() const¶ inline int operator*() const¶ inline int get() const¶ Friends¶ friend void swap(FdWrapper &first, FdWrapper &second)¶