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<char>>;

Type Aliases

Static Member Functions