I think they meant Rust? Rust definitely has that property to an extent; C++ is so far from it it’s not even funny.
I’ve definitely experienced it in Haskell and Rust. I can believe some C++ could be that way, but I’ve never experienced it, but then again those projects didn’t have useful tests either. I think with C++ a lot of this depends on domain and the quality of the code and libraries.
That used to be a joke at many places I worked at with large C/Cpp code bases. Always said tongue in cheek.
I've experienced it a bit in C++, especially after coming back from JS. But not to the degree of Rust.
It's truer in C++ than java or similar languages ime since java relies more on exceptions, but it's certainly not as true as Haskell or rust
Is it true enough in c++ to be useful though?
No it isn't lol. C++ compiles all the time with bugs.