[C++-sig] pass float from python to c++ as reference

Stefan Seefeld seefeld at sympatico.ca
Tue Feb 19 12:39:22 CET 2008

Sebastian Walter wrote:
> Hello,
> I need to pass a float from Python to C++ as a reference. What is the best
> way to do that?

You can't. You can't even do that within Python, as floats are immutable.



       ...ich hab' noch einen Koffer in Berlin...

More information about the Cplusplus-sig mailing list