bsl::allocator_traits<polymorphic_allocator<float>>

This struct template provides a specialization of the allocator_traits class template for bsl::polymorphic_allocator. This specialization is not strictly necessary, but its presence speeds up compilation by bypassing a significant amount of metaprogramming.

Synopsis

Declared in <bslma_polymorphicallocator.h>

template<>
struct allocator_traits<polymorphic_allocator<float>>;

Type Aliases

Name
allocator_type
const_pointer
const_void_pointer
difference_type
is_always_equal
pointer
propagate_on_container_copy_assignment
propagate_on_container_move_assignment
propagate_on_container_swap
rebind_alloc
rebind_traits
size_type
value_type
void_pointer

Static Member Functions

Name
allocate
construct
deallocate
destroy
max_size
select_on_container_copy_construction