logo       

Re: missing boost::ref in pyste generated code?: msg#00358

python.c++

Subject: Re: missing boost::ref in pyste generated code?



Giulio Eulisse wrote:

as it seem to pass Ev by value, instead of passing it by reference.
We fixed it by adding boost::ref where indicated in the sourcecode as
otherwise it tries to pass things by value. Is this a bug or am I doing
something wrong?


Sorry for missing this post, Giulio!

Pyste doesn't do it because it's not safe, otherwise Boost.Python would do that by default. Dave can elaborate better on that.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise