Add missing handler_alloc nested types

fix #432
This commit is contained in:
Vinnie Falco
2017-06-07 13:55:31 -07:00
parent 1ae344f80b
commit 96131eb243
2 changed files with 8 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ Version 50
* Tidy up basic_fields, header, and field concepts
* Fields concept work
* Body documentation work
* Add missing handler_alloc nested types
API Changes:

View File

@@ -10,6 +10,7 @@
#include <beast/config.hpp>
#include <boost/asio/handler_alloc_hook.hpp>
#include <cstddef>
#include <cstdlib>
#include <memory>
#include <type_traits>
@@ -56,6 +57,12 @@ private:
public:
using value_type = T;
using is_always_equal = std::true_type;
using pointer = T*;
using reference = T&;
using const_pointer = T const*;
using const_reference = T const&;
using size_type = std::size_t;
using difference_type = std::ptrdiff_t;
template<class U>
struct rebind