Object-oriented C++ style