[#bsl-allocator_traits-0e4c] = xref:bsl.adoc[bsl]::xref:bsl/allocator_traits-0108.adoc[allocator_traits]<polymorphic_allocator<pair<int const, pair<shared_ptr<Statistics>, shared_ptr<Collector<OsLinux>>>>>> :relfileprefix: ../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<> struct xref:bsl/allocator_traits-0108.adoc[allocator_traits]<polymorphic_allocator<pair<int const, pair<shared_ptr<Statistics>, shared_ptr<Collector<OsLinux>>>>>>; ---- == Type Aliases [cols="1"] |=== | Name | xref:bsl/allocator_traits-0e4c/allocator_type.adoc[`allocator_type`] | xref:bsl/allocator_traits-0e4c/const_pointer.adoc[`const_pointer`] | xref:bsl/allocator_traits-0e4c/const_void_pointer.adoc[`const_void_pointer`] | xref:bsl/allocator_traits-0e4c/difference_type.adoc[`difference_type`] | xref:bsl/allocator_traits-0e4c/is_always_equal.adoc[`is_always_equal`] | xref:bsl/allocator_traits-0e4c/pointer.adoc[`pointer`] | xref:bsl/allocator_traits-0e4c/propagate_on_container_copy_assignment.adoc[`propagate_on_container_copy_assignment`] | xref:bsl/allocator_traits-0e4c/propagate_on_container_move_assignment.adoc[`propagate_on_container_move_assignment`] | xref:bsl/allocator_traits-0e4c/propagate_on_container_swap.adoc[`propagate_on_container_swap`] | xref:bsl/allocator_traits-0e4c/rebind_alloc.adoc[`rebind_alloc`] | xref:bsl/allocator_traits-0e4c/rebind_traits.adoc[`rebind_traits`] | xref:bsl/allocator_traits-0e4c/size_type.adoc[`size_type`] | xref:bsl/allocator_traits-0e4c/value_type.adoc[`value_type`] | xref:bsl/allocator_traits-0e4c/void_pointer.adoc[`void_pointer`] |=== == Static Member Functions [cols="1"] |=== | Name | xref:bsl/allocator_traits-0e4c/allocate-0c0.adoc[`allocate`] | xref:bsl/allocator_traits-0e4c/construct-014.adoc[`construct`] | xref:bsl/allocator_traits-0e4c/deallocate.adoc[`deallocate`] | xref:bsl/allocator_traits-0e4c/destroy.adoc[`destroy`] | xref:bsl/allocator_traits-0e4c/max_size.adoc[`max_size`] | xref:bsl/allocator_traits-0e4c/select_on_container_copy_construction.adoc[`select_on_container_copy_construction`] |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#