Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2022. The current version is 1.89.0.
Wraps a handler to create an OVERLAPPED object for use with overlapped I/O.
class overlapped_ptr : noncopyable
|
Name |
Description |
|---|---|
|
Post completion notification for overlapped operation. Releases ownership. |
|
|
Get the contained OVERLAPPED object. |
|
|
overlapped_ptr [constructor] |
Construct an empty overlapped_ptr. |
|
Release ownership of the OVERLAPPED object. |
|
|
Reset to empty. |
|
|
~overlapped_ptr [destructor] |
Destructor automatically frees the OVERLAPPED object unless released. |
A special-purpose smart pointer used to wrap an application handler so that it can be passed as the LPOVERLAPPED argument to overlapped I/O functions.
Distinct objects: Safe.
Shared objects: Unsafe.
Header: boost/asio/windows/overlapped_ptr.hpp
Convenience header: boost/asio.hpp