a member function stub generator for C++