https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96074

            Bug ID: 96074
           Summary: Associative containers never propagate allocator on
                    copy assignment
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: alisdairm at me dot com
  Target Milestone: ---

Created attachment 48834
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48834&action=edit
Validate allocator propagation for all containers

The attached test driver is a simple validation that each container correctly
propgates allocators, given all 16 possible permutations of the traits.

All containers pass with the exception of the 4 associative containers that
each ignore the propagate_on_container_copy_assigment trait.

Note the test driver is slow to build as it instantiates a lot of templates.

Reply via email to