This is not the gotcha you think it is. Nobody that has used C++ in a non-trivial setting would regurgitate that Stroustrup quote unironically. C++, much like Powershell, is a warcrime of a language.
I'll give it up to Powershell though, it actually had some good ideas... albeit with awful execution. Can't say the same about C++.
By all means, write some Go instead—you might want to order a new `if err != nil` button to stave off the RSI. The rest of us are trying to make things better.