Add missing rebind to handler_alloc

This commit is contained in:
Vinnie Falco
2016-09-26 07:57:59 -04:00
parent dfea8ff266
commit 0c0b2f2545
2 changed files with 12 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
1.0.0-b14
* Add missing rebind to handler_alloc
--------------------------------------------------------------------------------
1.0.0-b13
* dstream improvements

View File

@@ -55,6 +55,12 @@ public:
using value_type = T;
using is_always_equal = std::true_type;
template<class U>
struct rebind
{
using other = handler_alloc<U, CompletionHandler>;
};
handler_alloc() = delete;
handler_alloc(handler_alloc&&) = default;
handler_alloc(handler_alloc const&) = default;