diff --git a/include/memory b/include/memory index 1d7b7456..0e14275c 100644 --- a/include/memory +++ b/include/memory @@ -672,6 +672,17 @@ public: template struct rebind {typedef allocator<_Up> other;}; }; +template <> +class _LIBCPP_VISIBLE allocator +{ +public: + typedef const void* pointer; + typedef const void* const_pointer; + typedef const void value_type; + + template struct rebind {typedef allocator<_Up> other;}; +}; + // pointer_traits template