api_generator:cpp:implement wrapper