C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Deliberate memory leak

From: Jonathan Wakely <cxx_at_[hidden]>
Date: Sat, 12 Oct 2024 18:17:35 +0100
On Sat, 12 Oct 2024, 14:55 Frederick Virchanza Gotham via Std-Proposals, <
std-proposals_at_[hidden]> wrote:

>
>
> This would mean you don't get false positives in your memory
> debuggers, such as the one built into the GNU compiler (which I really
> like), or valgrind.
>

Both of which support suppressions for expected/deliberate leaks.

Somebody even created a valgrind suppression file for pango already:
https://gitlab.gnome.org/GNOME/pango/-/blob/main/pango.supp

There's no need to change the C++ standard for this.

Received on 2024-10-12 17:18:55