This struct template provides a specialization of the allocator_traits class template for bsl::allocator. This specialization is not strictly necessary, but its presence speeds up compliation by bypassing a significant amount of metaprogramming.
Declared in <bslma_bslallocator.h>
template<class TYPE>
struct allocator_traits<allocator<TYPE>>;
| Name |
|---|
allocate |
construct |
deallocate |
destroy |
max_size |
select_on_container_copy_construction |