Hi,
I'm trying to wrap the following class:
class Node
{
public:
virtual ~Node();
virtual void compute();
void incRef();
void decRef();
private:
unsigned _refCount
};
As you can see, the class is reference counted. In most places in my
code, I pass around Node* pointers. I
Hi All,
The FAQ at:
http://www.boost.org/doc/libs/1_43_0/libs/python/doc/v2/faq.html
lists the following code as not possible with boost.python:
C++:
void foo(std::vector& array)
{
for(std::size_t i=0;i>> l = [1, 2, 3]
>>> foo(l)
>>> print l
[2, 4, 6]
Basically, the desired behavior is to