c++ified it