compile_wrapper seems to be private and I did not find any public function of TClingCallFunc that would use it. It is indeed code duplication...