25#ifndef FSW_WINDOWS_HANDLE_H
26# define FSW_WINDOWS_HANDLE_H
74 operator HANDLE()
const;
A RAII wrapper around Microsoft Windows HANDLE.
Definition: win_handle.hpp:38
win_handle & operator=(const win_handle &)=delete
Deleted copy assignment operator.
win_handle & operator=(const HANDLE &handle)
Assigns a handle to the current instance.
win_handle(const win_handle &)=delete
Deleted copy constructor.
win_handle & operator=(win_handle &&other) noexcept
Move assignment operator.
static bool is_valid(const HANDLE &handle)
Checks whether handle is valid.
win_handle(HANDLE handle)
Constructs an instance wrapping handle.
win_handle(win_handle &&other) noexcept
Move constructor.
win_handle()
Constructs an instance wrapping INVALID_HANDLE_VALUE.
bool is_valid() const
Checks whether the handle is valid.
virtual ~win_handle()
Destructs a handle.
Main namespace of libfswatch.
Definition: event.cpp:24