...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Inherited from windows::overlapped_handle.
An
windows::overlapped_handle
is always the lowest layer.
typedef overlapped_handle lowest_layer_type;
Name |
Description |
---|---|
The type of the executor associated with the object. |
|
An overlapped_handle is always the lowest layer. |
|
The native representation of a handle. |
Name |
Description |
---|---|
Assign an existing native handle to the handle. |
|
Cancel all asynchronous operations associated with the handle. |
|
Close the handle. |
|
Get the executor associated with the object. |
|
(Deprecated: Use get_executor().) Get the io_context associated with the object. |
|
(Deprecated: Use get_executor().) Get the io_context associated with the object. |
|
Determine whether the handle is open. |
|
Get a reference to the lowest layer. Get a const reference to the lowest layer. |
|
Get the native handle representation. |
|
Move-assign an overlapped_handle from another. |
|
Construct an overlapped_handle without opening it. Construct an overlapped_handle on an existing native handle. Move-construct an overlapped_handle from another. |
Name |
Description |
---|---|
Protected destructor to prevent deletion through this type. |
The windows::overlapped_handle
class provides the ability to wrap a Windows handle. The underlying object
referred to by the handle must support overlapped I/O.
Distinct objects: Safe.
Shared objects: Unsafe.
Header: boost/asio/windows/random_access_handle.hpp
Convenience header: boost/asio.hpp