Implement full support for non-pointer pointers in custom allocators for deque.