just add a cpp wrapper

just add a cpp wrapper