On Thu, Aug 13, 2015 at 12:06 PM, Dan Kegel <d...@kegel.com> wrote: > On Thu, Aug 13, 2015 at 6:11 AM, Jeffrey Walton <noloa...@gmail.com> wrote: >> Al we have managed to do since C++98 (maybe earlier) is move the >> problem around because the C++ language has not given us the tools we >> need to address the problem. > > What part of "stop doing that" does C++ get in the way of?
The objects simply exist, and telling someone "don't do that" is wishful thinking at best. That's the implicit bikeshedding I was talking about. And converting the file-scoped globals into locals with accessors suffers the same problem on the destructor side. So the problem was not fixed; rather it was just moved around. Jeff ------------------------------------------------------------------------------ _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users