[C++-sig] Passed by Reference or value

Venkatraman S venkat83 at gmail.com
Fri Apr 11 05:05:34 CEST 2008


Hi,

While using the Boost::Python(extending) , when we pass objects from Python
- are these passed to C/C++  by value or by reference?

How do we pass objects by reference so that the additional overhead of
copying the objetcs etc does not occur.

-- 
Venkat
Blog @ http://blizzardzblogs.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20080411/8ba7f509/attachment.htm>


More information about the Cplusplus-sig mailing list