Add missing rebind to handler_alloc

This commit is contained in:
Vinnie Falco
2017-07-20 08:12:09 -07:00
parent dfea8ff266
commit 0c0b2f2545
2 changed files with 12 additions and 0 deletions
+6
View File
@@ -1,3 +1,9 @@
1.0.0-b14
* Add missing rebind to handler_alloc
--------------------------------------------------------------------------------
1.0.0-b13
* dstream improvements
+6
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;