summaryrefslogtreecommitdiff
path: root/boost/container/detail/container_or_allocator_rebind.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/container/detail/container_or_allocator_rebind.hpp')
-rw-r--r--boost/container/detail/container_or_allocator_rebind.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/boost/container/detail/container_or_allocator_rebind.hpp b/boost/container/detail/container_or_allocator_rebind.hpp
index d74df6c966..1525e41d9d 100644
--- a/boost/container/detail/container_or_allocator_rebind.hpp
+++ b/boost/container/detail/container_or_allocator_rebind.hpp
@@ -34,7 +34,11 @@ struct container_or_allocator_rebind_impl
template<class AllocatorOrContainer, class ToType>
struct container_or_allocator_rebind_impl<AllocatorOrContainer, ToType, false>
: allocator_traits<AllocatorOrContainer>::template portable_rebind_alloc<ToType>
+{};
+template<class ToType>
+struct container_or_allocator_rebind_impl<void, ToType, false>
+ : real_allocator<ToType, void>
{};
template<class AllocatorOrContainer, class ToType>