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

            Bug ID: 121232
           Summary: Improve implementation  of make_shared for arrays
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tkaminsk at gcc dot gnu.org
  Target Milestone: ---

Currently the make_shared for arrays, is putting the _Sp_ca_type after the
array in single allocated memory chunk. This is done by allocating storage for
adjusted number of elements, and then using placement new to create a counter.

Reply via email to