An allocator that uses handler customizations.
template< class T, class Handler> class handler_alloc
This allocator uses the handler customizations
to manage memory. It meets the requirements of Allocator
and can be used anywhere a
The type of objects allocated by the allocator.
The type of handler.
Memory allocated by this allocator must be freed before the handler is invoked or undefined behavior results. This behavior is described as the "deallocate before invocation" Asio guarantee.