use the allocator interface with containers