Re: Question regarding 'Conditional jump or move depends on uninitialised value(s)'

Paul Floyd via Valgrind-users <[email protected]> Wed, 19 Jun 2024 20:07:09 +0000
Newsgroups gmane.comp.debugging.valgrind
Message-ID <[email protected]>

On 19-06-24 08:15, Thomas Wollenzin wrote:
> Thanks for the hint, Sean.
> While that might work perfectly fine, I'm personally not a big fan of 
> these types of tools. They're fine for proofing a theory but shouldn't 
> be used to 'cover up' developer mistakes. Code should be written as 
> solidly as possible.


Read more about the proposal here

https://www.open-std.org/JTC1/SC22/WG21/docs/papers/2022/p2723r0.html

I'm fairly certain that things like this will be part of C++ in the next 
5 years or so. That won't be using this option directly, more likely 
part of a 'profiles' feature.


A+
Paul