fix #85

* Remove unnecessary boost/system includes
* Remove unused headers_type from write_preparation
* Use braced-init style construction
* handler_alloc doc update
This commit is contained in:
Vinnie Falco committed 2017-07-20 08:12:13 -07:00
1 parent 8a64367d98
commit 52be0dd06e
9 files changed
+6 -16

No files matched your search

+3 -2
View File
@@ -23,12 +23,13 @@ namespace beast {
This allocator uses the handler customizations `asio_handler_allocate`
and `asio_handler_deallocate` to manage memory. It meets the requirements
of `Allocator` and can be used anywhere a `std::allocator` is
of @b Allocator and can be used anywhere a `std::allocator` is
accepted.
@tparam T The type of objects allocated by the allocator.
@tparam CompletionHandler The type of handler.
@tparam CompletionHandler The type of handler. Copies will be made
of the handler as needed.
@note Allocated memory is only valid until the handler is called. The
caller is still responsible for freeing memory.