On 06/21/2010 07:01 AM, Phil Bass wrote:
We have a lot of C++ code using a home-grown Event class template. An
Event is just a list of pointers to callback function objects. More
precisely, an Event is a std::list*>, where
unary_function is a polymorphic function object class. Code that
generates
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