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
You've currently chosen the 1.91.0 version. If a newer release comes out, you will continue to view the 1.91.0 version, not the new latest release.
Allocate a temporary object to hold stable asynchronous operation state.
Defined in header <boost/beast/core/async_base.hpp>
template< class State, class Handler, class Executor1, class Allocator, class... Args> State& allocate_stable( stable_async_base< Handler, Executor1, Allocator >& base, Args&&... args);
The object will be destroyed just before the completion handler is invoked, or when the base is destroyed.
|
Type |
Description |
|---|---|
|
|
The type of object to allocate. |
|
Name |
Description |
|---|---|
|
|
The helper to allocate from. |
|
|
An optional list of parameters to forward to the constructor of the object being allocated. |