And the exact same thing can be done in C++.