Is modern C++ the new Ada?
I don't know much about Ada except what experience I've had with PL/SQL, which is supposedly related to it.
I found myself counting the number of characters I'd have to change to get that first C++ snippet to evaluate as ES6.
However it is better than keeping with plain old C.