https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80284
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to frankhb1989 from comment #0) > Is it intended by design? Is what by design, the memory leak? This is undefined, and it's not documented as supported because we don't want to support it (and we can't support it for the unordered containers). I don't want to constrain our implementation to make this work, so I would prefer it stays undefined and unsupported.