...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
A function object type that adapts a completion token to specify that the completion handler should have the supplied allocator as its associated allocator.
template< typename Allocator> struct partial_allocator_binder
Name |
Description |
---|---|
Adapt a completion token to specify that the completion handler should have the allocator as its associated allocator. |
|
partial_allocator_binder [constructor] |
Constructor that specifies associated allocator. |
Name |
Description |
---|---|
May also be used directly as a completion token, in which case it adapts
the asynchronous operation's default completion token (or deferred
if no default is available).
Header: boost/asio/bind_allocator.hpp
Convenience header: boost/asio.hpp