Add missing rebind to handler_alloc

This commit is contained in:
Vinnie Falco committed 2016-09-29 13:03:32 -04:00
1 parent 2f9a8440c2
commit 4c7065a80a
2 files changed
+12

No files matched your search

+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;