https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120894
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to m.cencora from comment #0) > Also not sure why but ~memory_resource is not-defined inline, The header has a comment saying why: virtual ~memory_resource(); // key function We don't want the vtable to be emitted in every translation unit.