Wasn't the comment you were replying to lamenting these things about C++, on the implicit assumption that rust fixes them?
> I've never done anything with Rust […] I expect they have done away with a whole lot of C++ complexity
and trying to show whether, where and how rust had done so on the various examples provided.