[C++-sig] passing by non-const reference?

Christopher O'Grady cpo at slac.stanford.edu
Wed Feb 18 23:13:46 CET 2015


Hi,

Based on websearches we have done, we believe that boost-python does
not allow passing arguments by non-const-reference (at least, not
easily).  Can someone confirm this is still the case, or point me to
some documentation that discusses it?  We think this prevents us from
return multiple arguments from a method call.

Looking through the mailing list archives, we believe this is
impossible.  If someone knows differently can you let us know?

Thanks!

chris


More information about the Cplusplus-sig mailing list