...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::basic_handle.
A basic_handle is always the lowest layer.
typedef basic_handle< RandomAccessHandleService > lowest_layer_type;
Name |
Description |
---|---|
The underlying implementation type of I/O object. |
|
A basic_handle is always the lowest layer. |
|
The native representation of a handle. |
|
The type of the service that will be used to provide I/O operations. |
Name |
Description |
---|---|
Assign an existing native handle to the handle. |
|
Construct a basic_handle without opening it. Construct a basic_handle on an existing native handle. |
|
Cancel all asynchronous operations associated with the handle. |
|
Close the handle. |
|
Get the io_service associated with the object. |
|
(Deprecated: use get_io_service().) Get the io_service 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. |
Name |
Description |
---|---|
Protected destructor to prevent deletion through this type. |
Name |
Description |
---|---|
The underlying implementation of the I/O object. |
|
The service associated with the I/O object. |
The windows::basic_handle class template provides the ability to wrap a Windows handle.
Distinct objects: Safe.
Shared objects: Unsafe.