Inline C++ code