Nim would be the best choice for this at the moment, imho

importcpp what you need. exportcpp for the other way around