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 2023. The current version is 1.89.0.
A call wrapper type to bind an allocator of type Allocator
to an object of type T.
template< typename T, typename Allocator> class allocator_binder
|
Name |
Description |
|---|---|
|
The type of the associated allocator. |
|
|
The type of the function's argument. |
|
|
The type of the function's first argument. |
|
|
The return type if a function. |
|
|
The type of the function's second argument. |
|
|
The type of the target object. |
|
Name |
Description |
|---|---|
|
allocator_binder [constructor] |
Construct an allocator wrapper for the specified object. |
|
Obtain a reference to the target object. |
|
|
Obtain the associated allocator. |
|
|
~allocator_binder [destructor] |
Destructor. |
Header: boost/asio/bind_allocator.hpp
Convenience header: boost/asio.hpp