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. |
|
Forwarding function call operator. |
|
~allocator_binder [destructor] |
Destructor. |
Header: asio/bind_allocator.hpp
Convenience header: asio.hpp