Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost::bind member function and save to function pointer
From: Raymond Burkholder (ray_at_[hidden])
Date: 2011-04-13 19:33:12

> I'd like to implement an event-handling scheme that supports member
> functions. For example, I would have a class that accepts a function
> pointer, stores it, and calls that function when some event occurs.
> I'd like to be able to store a pointer to a member function with
> boost::bind():

Rather than re-inventing the wheel, you might try boost::signal or

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at