[C++-sig] Overloaded functions returning Ll and r values

Stefan Seefeld seefeld at sympatico.ca
Sat Jul 26 17:12:18 CEST 2008


Borek Patzak wrote:
>
> I am unable to generate wrapper for "double& Array ::at(int i)".
> Any help?
>

You can't return or pass float, int, string, etc. by reference in 
Python, as they are immutable.

HTH,
       Stefan

-- 

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




More information about the Cplusplus-sig mailing list