C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Deliberate memory leak

From: Tiago Freire <tmiguelf_at_[hidden]>
Date: Sat, 12 Oct 2024 17:27:37 +0000
FYI. He's a known troll.

Please don't waste your time.
If you needed any clue. You have been able to memory leak since ever, you don't need a standard support for that, people generally want to do the opposite. The idea itself is idiotic.


________________________________
From: Std-Proposals <std-proposals-bounces_at_[hidden]> on behalf of Jonathan Wakely via Std-Proposals <std-proposals_at_[hidden]>
Sent: Saturday, October 12, 2024 7:19:01 PM
To: C++ Proposals <std-proposals_at_[hidden]>
Cc: Jonathan Wakely <cxx_at_[hidden]>
Subject: Re: [std-proposals] Deliberate memory leak



On Sat, 12 Oct 2024, 14:55 Frederick Virchanza Gotham via Std-Proposals, <std-proposals_at_[hidden]<mailto: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:27:43